| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Object | Returns: The deserialized object. The returned value is null if the deserialized value is equal to the Invalid Value for the specified dataType.A valid is, short ZigBeeDataInput stream instance. This parameter
cannot be null.The data type that have to be deserialized. This value
must be one of the valid data types constants defined at the
beginning of this interface, otherwise an IllegalArgumentException
exception is thrown. dataType)Unmarshal |
| pack-priv static void | serializeDataType(ZigBeeDataOutput
a os, short ZigBeeDataOutput stream where to stream the value.
This parameter cannot be null. If it is nul a
NullPointerException is thrown.The data type that have to be marshaled on the output
stream. dataType, Object The value that have to be serialized on the output stream.
If null is passed this method outputs on the stream the ZigBee
invalid value related to the specified data type. If the data type
do not allow any invalid value and the passed value is null an
value)IllegalArgumentException is thrown.Marshal the passed value into a |
| private static byte[] |
| zigBeeTimeZero | back to summary |
|---|---|
| pack-priv static final long zigBeeTimeZero | |
| ZigBeeDefaultSerializer | back to summary |
|---|---|
| pack-priv ZigBeeDefaultSerializer() | |
| deserializeDataType | back to summary |
|---|---|
| pack-priv static Object deserializeDataType(ZigBeeDataInput is, short dataType) throws IOException Unmarshal Array, bag, set and structure data types are not supported.
| |
| serializeDataType | back to summary |
|---|---|
| pack-priv static void serializeDataType(ZigBeeDataOutput os, short dataType, Object value) throws IOException Marshal the passed value into a Array, bag, set and structure data types are not supported. If the data type allows that, a null value is marshaled into ZCL Invalid Value for that data type.
| |
| swap | back to summary |
|---|---|
| private static byte[] swap(byte[] array) | |