ISliceSerializer<T>

Namespace: SnowBank.Buffers · interface

Can serialize instances of type T to and from binary form

Methods

TryReadFrom

bool TryReadFrom(ref SliceReader reader, out T value)

Attempts to deserialize an instance of type T from the specified output buffer

WriteTo

void WriteTo(ref SliceWriter writer, T value)

Serializes an instance to the specified output buffer