Serialize(T, Memory<byte>)
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.
