Skip to content

ObjectSerializer.Serialize(object, Writer<TBufferWriter>, Type)

Serialize(object, Writer<TBufferWriter>, Type)

View source
public void Serialize<TBufferWriter>(object value, ref Writer<TBufferWriter> destination, Type type)
Serializes the provided value into destination.

Parameters

valueobject
The value to serialize.
destinationWriter<TBufferWriter>
The destination where serialized data will be written.
typeType
The expected type of the value.