public class CipherInputStream extends SdkFilterInputStream
in| 构造器和说明 |
|---|
CipherInputStream(InputStream is,
CryptoCipher cryptoCipher) |
CipherInputStream(InputStream is,
CryptoCipher c,
int buffsize) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] buf,
int off,
int target_len) |
void |
reset() |
long |
skip(long n)
Note: This implementation will only skip up to the end of the buffered data,
potentially skipping 0 bytes.
|
abort, abortIfNeeded, getDelegateStream, isAborted, releasepublic CipherInputStream(InputStream is, CryptoCipher cryptoCipher)
public CipherInputStream(InputStream is, CryptoCipher c, int buffsize)
public int read()
throws IOException
read 在类中 SdkFilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read 在类中 FilterInputStreamIOExceptionpublic int read(byte[] buf,
int off,
int target_len)
throws IOException
read 在类中 SdkFilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip 在类中 SdkFilterInputStreamIOExceptionpublic int available()
available 在类中 SdkFilterInputStreampublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 SdkFilterInputStreamIOExceptionpublic boolean markSupported()
markSupported 在类中 SdkFilterInputStreampublic void mark(int readlimit)
mark 在类中 SdkFilterInputStreampublic void reset()
throws IOException
reset 在类中 SdkFilterInputStreamIOExceptionCopyright © 2020. All Rights Reserved.