Skip to content

Codec_ImmutableStackSurrogate<T>.Serialize(Writer<TBufferWriter>, ImmutableStackSurrogate<T>)

Serialize(Writer<TBufferWriter>, ImmutableStackSurrogate<T>)

public void Serialize<TBufferWriter>(ref Writer<TBufferWriter> writer, scoped ref ImmutableStackSurrogate<T> instance)
Serializes the provided value.

Parameters

writerWriter<TBufferWriter>
The writer.
instanceImmutableStackSurrogate<T>
The value.