Skip to content

ValueSerializer<T>.Serialize(T, Span<byte>)

Serialize(T, Span<byte>)

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

Parameters

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