public class BinaryEncoder extends Object
| Constructor and Description |
|---|
BinaryEncoder() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getBuffer() |
int |
getPosition() |
void |
putBigInteger(BigInteger value) |
void |
putByteArray(byte[] value) |
void |
putDouble(double value) |
void |
putInt(int value) |
void |
putInt32(int value) |
void |
putInt64(long value) |
void |
putLong(long value) |
protected void |
putU1(long value) |
void |
putUInt(int value) |
void |
putUTF8(String value) |
public ByteBuffer getBuffer()
protected void putU1(long value)
public void putInt(int value)
public void putUInt(int value)
public void putLong(long value)
public void putDouble(double value)
public void putInt64(long value)
public void putUTF8(String value)
public void putByteArray(byte[] value)
public void putBigInteger(BigInteger value)
public void putInt32(int value)
public int getPosition()