public class ByteReader extends Object
| Constructor and Description |
|---|
ByteReader(byte[] bytes) |
ByteReader(byte[] bytes,
int cursor) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertFinished() |
boolean |
booleanByte() |
byte[] |
bytes(int num) |
long |
comparableLong() |
String |
comparableUtf8() |
boolean |
hasMore() |
int |
position() |
int |
rawInt() |
int[] |
rawInts(int count) |
long |
rawLong() |
long[] |
rawLongs(int count) |
int |
skip(int numBytes) |
int |
skipInts(int num) |
int |
skipLongs(int num) |
byte[] |
varBytes() |
int |
varInt() |
int[] |
varInts(int count) |
long |
varLong() |
String |
varUtf8() |
public ByteReader(byte[] bytes,
int cursor)
public ByteReader(byte[] bytes)
public int position()
public int skip(int numBytes)
public boolean hasMore()
public void assertFinished()
public boolean booleanByte()
public int skipInts(int num)
public int rawInt()
public int[] rawInts(int count)
public int varInt()
public int[] varInts(int count)
public int skipLongs(int num)
public long comparableLong()
public long rawLong()
public long[] rawLongs(int count)
public long varLong()
public byte[] bytes(int num)
public byte[] varBytes()
public String comparableUtf8()
public String varUtf8()
Copyright © 2009–2021. All rights reserved.