Used to serialize a type into an array of bytes

C# |
public class PDMSerializer

All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
![]() | PDMSerializer()()() | Initializes a new instance of the PDMSerializer class |
![]() | writeBoolean(array<Byte>[]()[], Int32, Boolean) | Writes the boolean as 1 byte into the byte array at position |
![]() | writeByte(array<Byte>[]()[], Int32, SByte) | Writes the byte as 1 byte into the byte array at position |
![]() | writeByteArray(array<Byte>[]()[], Int32, array<Byte>[]()[]) | Copies the source byte array into the byte array at position |
![]() | writeDecimal(array<Byte>[]()[], Int32, PDMDecimal) | Writes the {@link PDMDecimal} as 9 bytes into the byte array at position |
![]() | writeDouble(array<Byte>[]()[], Int32, Double) | Writes the double as 8 bytes into the byte array at position |
![]() | writeFloat(array<Byte>[]()[], Int32, Single) | Writes the float as 4 bytes into the byte array at position |
![]() | writeInt(array<Byte>[]()[], Int32, Int32) | Writes the int as 4 bytes into the byte array at position |
![]() | writeLong(array<Byte>[]()[], Int32, Int64) | Writes the long as 8 bytes into the byte array at position |
![]() | writeShort(array<Byte>[]()[], Int32, Int16) | * Writes the short as 2 bytes into the byte array at position |
![]() | writeString(array<Byte>[]()[], Int32, String) | Writes the non-null String into the byte array at position
and appends a 0 byte after the String
|
![]() | writeTimestamp(array<Byte>[]()[], Int32, PDMTimestamp) | Writes the {@link PDMTimestamp} as 8 bytes into the byte array at position |
![]() | writeUByte(array<Byte>[]()[], Int32, Byte) | Writes the unsigned byte (short) as 1 byte into the byte array at position |
![]() | writeUInt(array<Byte>[]()[], Int32, UInt32) | Writes the unsigned int (long) as 4 bytes into the byte array at position |
![]() | writeULong(array<Byte>[]()[], Int32, UInt64) | Writes the ulong as 8 bytes into the byte array at position |
![]() | writeUnicode(array<Byte>[]()[], Int32, String, String) | Writes the non-null unicode String into the byte array at position
and appends a 0 byte after the String
|
![]() | writeUnicode(array<Byte>[]()[], Int32, String) | Writes the non-null unicode String into the byte array
as UTF-8 at position and appends a 0 byte after the String
|
![]() | writeUShort(array<Byte>[]()[], Int32, UInt16) | Writes the unsigned short (int) as 2 bytes into the byte array at position |

Object | |
![]() | PDMSerializer |