public class AesGcmInputStream extends SeekableInputStream
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
long |
getPos()
Return the current position in the InputStream.
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long newPos)
Seek to a new position in the InputStream.
|
long |
skip(long n) |
public int available()
available in class java.io.InputStreampublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void seek(long newPos)
throws java.io.IOException
SeekableInputStreamseek in class SeekableInputStreamnewPos - the new position to seek tojava.io.IOException - If the underlying stream throws IOExceptionpublic long skip(long n)
skip in class java.io.InputStreampublic long getPos()
throws java.io.IOException
SeekableInputStreamgetPos in class SeekableInputStreamjava.io.IOException - If the underlying stream throws IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException