Skip to content

Serializer.Serialize(T, Memory<byte>)

Serialize(T, Memory<byte>)

View source
public void Serialize<T>(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.