public class BinaryDecoder extends Object
Constructor and Description |
---|
BinaryDecoder(ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getBigInteger() |
ByteBuffer |
getBuffer() |
byte[] |
getByteArray() |
double |
getDouble() |
int |
getInt()
Reads a signed variable byte size encoded value that is known to fit into the range of int.
|
int |
getInt32() |
long |
getInt64() |
long |
getLong() |
int |
getUInt()
Reads an unsigned variable byte size encoded value that is known to fit into the range of
int.
|
String |
getUTF8() |
boolean |
hasRemaining() |
public BinaryDecoder(ByteBuffer buffer)
public int getInt()
public int getUInt()
public long getLong()
public String getUTF8()
public byte[] getByteArray()
public BigInteger getBigInteger()
public double getDouble()
public long getInt64()
public int getInt32()
public boolean hasRemaining()
public ByteBuffer getBuffer()