|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lwes.serializer.Deserializer
public class Deserializer
This encapuslates the information needed to deserialize the base types of the event system.
| Constructor Summary | |
|---|---|
Deserializer()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
deserializeATTRIBUTEWORD(DeserializerState myState,
byte[] bytes)
Deserialize a String out of the byte array bytes which represents an Attribute name. |
static boolean |
deserializeBOOLEAN(DeserializerState myState,
byte[] bytes)
Deserialize a boolean value out of the byte array bytes |
static byte |
deserializeBYTE(DeserializerState myState,
byte[] bytes)
Deserialize a byte out of the byte array bytes |
static java.lang.String |
deserializeEVENTWORD(DeserializerState myState,
byte[] bytes)
Deserialize a String out of the byte array bytes which represents an Event name. |
static java.lang.String |
deserializeEVENTWORD(DeserializerState myState,
byte[] bytes,
short encoding)
|
static short |
deserializeINT16(DeserializerState myState,
byte[] bytes)
Deserialize an int16 out of the byte array bytes |
static int |
deserializeINT32(DeserializerState myState,
byte[] bytes)
Deserialize an int32 out of the byte array bytes |
static long |
deserializeINT64(DeserializerState myState,
byte[] bytes)
Deserialize a int64 out of the byte array bytes |
static byte[] |
deserializeIPADDR(DeserializerState myState,
byte[] bytes)
Deserialize an ip_addr out of the byte array bytes |
static java.lang.String |
deserializeIPADDRtoHexString(DeserializerState myState,
byte[] bytes)
|
static java.lang.String |
deserializeSTRING(DeserializerState myState,
byte[] bytes)
Deprecated. |
static java.lang.String |
deserializeSTRING(DeserializerState myState,
byte[] bytes,
short encoding)
|
static int |
deserializeUINT16(DeserializerState myState,
byte[] bytes)
Deserialize a uint16 out of the byte array bytes |
static long |
deserializeUINT32(DeserializerState myState,
byte[] bytes)
Deserialize a uint32 out of the byte array bytes |
static long |
deserializeUINT64(DeserializerState myState,
byte[] bytes)
Deserialize a uint64 out of the byte array bytes |
static java.lang.String |
deserializeUINT64toHexString(DeserializerState myState,
byte[] bytes)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Deserializer()
| Method Detail |
|---|
public static byte deserializeBYTE(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static boolean deserializeBOOLEAN(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static short deserializeINT16(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static int deserializeUINT16(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static int deserializeINT32(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static long deserializeUINT32(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static long deserializeINT64(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static long deserializeUINT64(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static java.lang.String deserializeUINT64toHexString(DeserializerState myState,
byte[] bytes)
public static byte[] deserializeIPADDR(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static java.lang.String deserializeIPADDRtoHexString(DeserializerState myState,
byte[] bytes)
public static java.lang.String deserializeSTRING(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static java.lang.String deserializeSTRING(DeserializerState myState,
byte[] bytes,
short encoding)
public static java.lang.String deserializeEVENTWORD(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
public static java.lang.String deserializeEVENTWORD(DeserializerState myState,
byte[] bytes,
short encoding)
public static java.lang.String deserializeATTRIBUTEWORD(DeserializerState myState,
byte[] bytes)
myState - the DeserializeState object giving the current index
in the byte array bytes
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||