Skip to content

ValueSerializer<T>.Serialize(T, Writer<TBufferWriter>)

Serialize(T, Writer<TBufferWriter>)

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

Parameters

valueT
The value to serialize.
destinationWriter<TBufferWriter>
The destination where serialized data will be written.