Serialize(object, byte[], SerializerSession, Type)
public int Serialize(object value, byte[] destination, SerializerSession session, Type type) Serializes the provided
value into destination. Parameters
valueobject- The value to serialize.
destinationbyte[]- The destination where serialized data will be written.
sessionSerializerSession- The serializer session.
typeType- The expected type of the value.
Returns
The length of the serialized data.
