Interface IBinarySerializer<T>
- Namespace
- Backdash.Serialization
- Assembly
- Backdash.dll
Binary serializer for T
public interface IBinarySerializer<T>
Type Parameters
T
Type to be serialized.
Properties
Endianness
Serialization Endianness GetEndianness(bool)Endianness
Endianness Endianness { get; }
Property Value
Methods
Deserialize(ReadOnlySpan<byte>, ref T)
Deserialize data
into value
int Deserialize(ReadOnlySpan<byte> data, ref T value)
Parameters
data
ReadOnlySpan<byte>value
T
Returns
Serialize(in T, Span<byte>)
Serialize data
into buffer
int Serialize(in T data, Span<byte> buffer)