Table of Contents

Class BytesSerializer

Namespace
MarymoorStudios.Core.Rpc
Assembly
MarymoorStudios.Core.Rpc.dll
public sealed class BytesSerializer : Serializer<Bytes?>
Inheritance
BytesSerializer
Inherited Members

Constructors

BytesSerializer()

public BytesSerializer()

Properties

TypeId

public static TypeId TypeId { get; }

Property Value

TypeId

Methods

GetTypeId()

public override TypeId GetTypeId()

Returns

TypeId

SizeOf(SerializationContext, in Bytes?)

public override int SizeOf(SerializationContext context, in Bytes? value)

Parameters

context SerializationContext
value Bytes

Returns

int

TryRead(SerializationContext, ref ReadOnlyRowBuffer, out Bytes?)

public override bool TryRead(SerializationContext context, ref ReadOnlyRowBuffer buffer, out Bytes? value)

Parameters

context SerializationContext
buffer ReadOnlyRowBuffer
value Bytes

Returns

bool

Write(SerializationContext, ref RowBuffer, in Bytes?)

public override void Write(SerializationContext context, ref RowBuffer buffer, in Bytes? value)

Parameters

context SerializationContext
buffer RowBuffer
value Bytes