public class ByteArrayReader extends ByteReader
| Modifier and Type | Method and Description |
|---|---|
byte[] |
copyOfRange(int from,
int to)
Doesn't affect the cursor value of the object
|
byte |
getByte(int idx) |
int |
length() |
ByteReader |
mark() |
byte |
nextUnsafe() |
ByteReader |
reset() |
public int length()
length in class ByteReaderpublic byte nextUnsafe()
nextUnsafe in class ByteReaderpublic byte getByte(int idx)
getByte in class ByteReaderpublic ByteReader mark()
mark in class ByteReaderpublic ByteReader reset()
reset in class ByteReaderpublic byte[] copyOfRange(int from,
int to)
ByteReadercopyOfRange in class ByteReader