Skip to content

Serializer<T>.Serialize(T, Memory<byte>)

Serialize(T, Memory<byte>)

View source
public void Serialize(T value, ref Memory<byte> destination)
Serializes the provided value into destination.

Parameters

valueT
The value to serialize.
destinationMemory<byte>
The destination where serialized data will be written.