protected class CompressedFrameDecoder.ByteArrayInputStreamWithOffsetCounterAndOurMethods
extends java.io.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) |
public ByteArrayInputStreamWithOffsetCounterAndOurMethods(byte[] buf)
public int available()
available
in class java.io.InputStream
public int getOffsetOfNextByteToReadFromStartOfFragment()
public boolean markSupported()
markSupported
in class java.io.InputStream
public int read()
read
in class java.io.InputStream
public int read(byte[] b, int off, int len)
read
in class java.io.InputStream
public final long readUnsigned32LittleEndian()
public final void readUnsigned32LittleEndian(long[] w, int offset, int len) throws java.io.IOException
java.io.IOException
public long skip(long n)
skip
in class java.io.InputStream
public void skipInsistently(long length) throws java.io.IOException
java.io.IOException