Serializes the message to an existing byte array at position

C# |
public virtual int toBytes( PDMSerializer ser, byte[] ba, int pos )

- ser (PDMSerializer)
- the PDMSerializer to use
- ba (array< Byte >[]()[])
- the byte array
- pos (Int32)
- the starting position

the updated position in the byte array after serializing
this object