protected class CompressedFrameDecoder.ByteArrayInputStreamWithOffsetCounterAndOurMethods extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buf |
protected int |
count |
protected int |
pos |
| Constructor and Description |
|---|
ByteArrayInputStreamWithOffsetCounterAndOurMethods(byte[] buf) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
getOffsetOfNextByteToReadFromStartOfFragment() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
readUnsigned32LittleEndian() |
void |
readUnsigned32LittleEndian(long[] w,
int offset,
int len) |
long |
skip(long n) |
void |
skipInsistently(long length) |
close, mark, read, resetpublic ByteArrayInputStreamWithOffsetCounterAndOurMethods(byte[] buf)
public int available()
available in class InputStreampublic int getOffsetOfNextByteToReadFromStartOfFragment()
public boolean markSupported()
markSupported in class InputStreampublic int read()
read in class InputStreampublic int read(byte[] b,
int off,
int len)
read in class InputStreampublic final long readUnsigned32LittleEndian()
public final void readUnsigned32LittleEndian(long[] w,
int offset,
int len)
throws IOException
IOExceptionpublic long skip(long n)
skip in class InputStreampublic void skipInsistently(long length)
throws IOException
IOException