public interface ReadBuffer
| Modifier and Type | Method and Description |
|---|---|
int |
offset()
returns the current offset in the buffer
|
BitMap4 |
readBitMap(int bitCount) |
byte |
readByte()
reads a byte from the buffer.
|
void |
readBytes(byte[] bytes)
reads an array of bytes from the buffer.
|
int |
readInt()
reads an int from the buffer.
|
long |
readLong()
reads a long from the buffer.
|
void |
seek(int offset)
positions the read pointer at the specified position
|
int offset()
BitMap4 readBitMap(int bitCount)
byte readByte()
void readBytes(byte[] bytes)
bytes - the byte array to read the bytes into.int readInt()
long readLong()
void seek(int offset)
offset - the desired position in the buffer