Used to deserialize bytes into the appropriate type

C# |
public class PDMDeserializer

All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
![]() | PDMDeserializer()()() | Initializes a new instance of the PDMDeserializer class |
![]() | isByteSwap()()() | Gets whether the byteSwap flag is set |
![]() | readBoolean(array<Byte>[]()[], Int32) | This method will use one bytes from the given byte array starting at
position to create a boolean.
|
![]() | readByte(array<Byte>[]()[], Int32) | This method will use one bytes from the given byte array starting at
position to create a byte.
|
![]() | readByteArray(array<Byte>[]()[], Int32, array<Byte>[]()[]) | Copies bytes from the source byte array (ba) into the destination byte array |
![]() | readByteArray(array<Byte>[]()[], Int32, array<Byte>[]()[], Int32) | Copies bytes from the source byte array (ba) into the destination byte array |
![]() | readByteArray(array<Byte>[]()[], Int32, Int32) | Creates a new byte array from the source byte array (ba) at position
for the given length
|
![]() | readDecimal(array<Byte>[]()[], Int32, Boolean) | This method will use nine bytes from the given byte array starting at
position to create a {@link PDMDecimal}.
|
![]() | readDecimal(array<Byte>[]()[], Int32) | This method will use eight bytes from the given byte array starting at
position to create a {@link PDMDecimal}.
|
![]() | readDouble(array<Byte>[]()[], Int32, Boolean) | This method will use eight bytes from the given byte array starting at
position to create a double.
|
![]() | readDouble(array<Byte>[]()[], Int32) | This method will use eight bytes from the given byte array starting at
position to create a double.
|
![]() | readFloat(array<Byte>[]()[], Int32, Boolean) | This method will use four bytes from the given byte array starting at
position to create a float.
|
![]() | readFloat(array<Byte>[]()[], Int32) | This method will use four bytes from the given byte array starting at
position to create a float.
|
![]() | readInt(array<Byte>[]()[], Int32, Boolean) | This method will use four bytes from the given byte array starting at
position to create an int.
|
![]() | readInt(array<Byte>[]()[], Int32) | This method will use four bytes from the given byte array starting at
position to create an int.
|
![]() | readLong(array<Byte>[]()[], Int32, Boolean) | This method will use eight bytes from the given byte array starting at
position to create a long.
|
![]() | readLong(array<Byte>[]()[], Int32) | This method will use eight bytes from the given byte array starting at
position to create a long.
|
![]() | readShort(array<Byte>[]()[], Int32, Boolean) | This method will use two bytes from the given byte array starting at
position to create a short.
|
![]() | readShort(array<Byte>[]()[], Int32) | This method will use two bytes from the given byte array starting at
position to create a short.
|
![]() | readString(array<Byte>[]()[], Int32, Int32) | This method will read the specified len at position pos from
the byte array and create a String expecting the String
to end with a byte 0
|
![]() | readTimestamp(array<Byte>[]()[], Int32, Boolean) | This method will use eight bytes from the given byte array starting at
position to create a {@link PDMTimestamp}.
|
![]() | readTimestamp(array<Byte>[]()[], Int32) | This method will use eight bytes from the given byte array starting at
position to create a {@link PDMTimestamp}.
|
![]() | readUByte(array<Byte>[]()[], Int32) | This method will use one bytes from the given byte array starting at
position to create an unsigned byte (stored in a short).
|
![]() | readUInt(array<Byte>[]()[], Int32, Boolean) | This method will use four bytes from the given byte array starting at
position to create an unsigned int (stored as a long).
|
![]() | readUInt(array<Byte>[]()[], Int32) | This method will use four bytes from the given byte array starting at
position to create an unsigned int (stored as a long).
|
![]() | readULong(array<Byte>[]()[], Int32, Boolean) | This method will use eight bytes from the given byte array starting at
position to create an unsigned long (stored in a BigInteger).
|
![]() | readULong(array<Byte>[]()[], Int32) | This method will use eight bytes from the given byte array starting at
position to create an unsigned long (stored in a BigInteger).
|
![]() | readUnicode(array<Byte>[]()[], Int32, Int32, String) | This method will read the specified len at position pos from
the byte array and create a unicode String expecting the String
to end with a byte 0
|
![]() | readUnicode(array<Byte>[]()[], Int32, Int32) | This method will read the specified len at position pos from
the byte array and create a UTF-8 unicode String expecting
the String to end with a byte 0
|
![]() | readUShort(array<Byte>[]()[], Int32, Boolean) | This method will use two bytes from the given byte array starting at
position to create an unsigned short (stored as an int).
|
![]() | readUShort(array<Byte>[]()[], Int32) | This method will use two bytes from the given byte array starting at
position to create an unsigned short (stored as an int).
|
![]() | setByteSwap(array<Byte>[]()[], Int32, UInt32) | Sets the flag on whether to swap bytes by comparing the magic
number read in from the ba at the specified pos to the one passed in
|

Object | |
![]() | PDMDeserializer |