| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | Returns: true if there are any bytes left to readDetermines if there are any bytes left to read or not. |
| public int | |
| public int | Returns: the unsigned byte as intoffset to the byte to be peeked offset)Peeks one single unsigned byte from the buffer. |
| public byte | |
| public byte[] | Returns: an array with containing the bytes from the bufferthe number of bytes to be read length)Read a number of single byte values from the buffer. |
| public default int | |
| public default int | |
| public default short | |
| public int | |
| public default int | Returns: the unsigned short value as intRead one single unsigned short (2 bytes) value from the buffer. |
| public void |
| getPosition | back to summary |
|---|---|
| public int getPosition() throws IOException Returns the current position.
| |
| hasRemaining | back to summary |
|---|---|
| public boolean hasRemaining() throws IOException Determines if there are any bytes left to read or not.
| |
| length | back to summary |
|---|---|
| public int length() throws IOException | |
| peekUnsignedByte | back to summary |
|---|---|
| public int peekUnsignedByte(int offset) throws IOException Peeks one single unsigned byte from the buffer.
| |
| readByte | back to summary |
|---|---|
| public byte readByte() throws IOException Read one single byte from the buffer.
| |
| readBytes | back to summary |
|---|---|
| public byte[] readBytes(int length) throws IOException Read a number of single byte values from the buffer.
| |
| readInt | back to summary |
|---|---|
| public default int readInt() throws IOException Read one single int (4 bytes) from the buffer.
| |
| readOffset | back to summary |
|---|---|
| public default int readOffset(int offSize) throws IOException Read the offset from the buffer.
| |
| readShort | back to summary |
|---|---|
| public default short readShort() throws IOException Read one single short value from the buffer.
| |
| readUnsignedByte | back to summary |
|---|---|
| public int readUnsignedByte() throws IOException Read one single unsigned byte from the buffer.
| |
| readUnsignedShort | back to summary |
|---|---|
| public default int readUnsignedShort() throws IOException Read one single unsigned short (2 bytes) value from the buffer.
| |
| setPosition | back to summary |
|---|---|
| public void setPosition(int position) throws IOException Sets the current position to the given value.
| |