ToByteArray Method
ToByteArray(Int32)
Creates a new byte array with the internal content of the serialized data.
Declaration
byte[] ToByteArray(int padding = 0)
Parameters
Int32 | padding | the number of zero byte(s) to add to beginning of the returned array |
Returns
Byte[] | clone of internal byte content with optional padding bytes |