public class Decoder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
decodeBoolean(byte[] bytes,
Iterator it) |
float |
decodeFloat32(byte[] bytes,
Iterator it) |
double |
decodeFloat64(byte[] bytes,
Iterator it) |
short |
decodeInt16(byte[] bytes,
Iterator it) |
int |
decodeInt32(byte[] bytes,
Iterator it) |
long |
decodeInt64(byte[] bytes,
Iterator it) |
byte |
decodeInt8(byte[] bytes,
Iterator it) |
float |
decodeNumber(byte[] bytes,
Iterator it) |
java.lang.Object |
decodePrimitiveType(java.lang.String type,
byte[] bytes,
Iterator it) |
java.lang.String |
decodeString(byte[] bytes,
Iterator it) |
int |
decodeUint16(byte[] bytes,
Iterator it) |
long |
decodeUint32(byte[] bytes,
Iterator it) |
long |
decodeUint64(byte[] bytes,
Iterator it) |
short |
decodeUint8(byte[] bytes,
Iterator it) |
static Decoder |
getInstance() |
boolean |
indexChangeCheck(byte[] bytes,
Iterator it) |
boolean |
nilCheck(byte[] bytes,
Iterator it) |
boolean |
numberCheck(byte[] bytes,
Iterator it) |
public static Decoder getInstance()
public java.lang.Object decodePrimitiveType(java.lang.String type,
byte[] bytes,
Iterator it)
public float decodeNumber(byte[] bytes,
Iterator it)
public byte decodeInt8(byte[] bytes,
Iterator it)
public short decodeUint8(byte[] bytes,
Iterator it)
public short decodeInt16(byte[] bytes,
Iterator it)
public int decodeUint16(byte[] bytes,
Iterator it)
public int decodeInt32(byte[] bytes,
Iterator it)
public long decodeUint32(byte[] bytes,
Iterator it)
public float decodeFloat32(byte[] bytes,
Iterator it)
public double decodeFloat64(byte[] bytes,
Iterator it)
public long decodeInt64(byte[] bytes,
Iterator it)
public long decodeUint64(byte[] bytes,
Iterator it)
public boolean decodeBoolean(byte[] bytes,
Iterator it)
public java.lang.String decodeString(byte[] bytes,
Iterator it)
public boolean nilCheck(byte[] bytes,
Iterator it)
public boolean indexChangeCheck(byte[] bytes,
Iterator it)
public boolean numberCheck(byte[] bytes,
Iterator it)