Redigera

Dela via


MemoryOfByteCodec Class

Definition

Serializer for Memory<T>.

[Orleans.RegisterSerializer]
public sealed class MemoryOfByteCodec : Orleans.Serialization.Codecs.IFieldCodec<Memory<byte>>
[<Orleans.RegisterSerializer>]
type MemoryOfByteCodec = class
    interface IFieldCodec<Memory<byte>>
    interface IFieldCodec
Public NotInheritable Class MemoryOfByteCodec
Implements IFieldCodec(Of Memory(Of Byte))
Inheritance
MemoryOfByteCodec
Attributes
Implements

Constructors

MemoryOfByteCodec()

Methods

ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Memory<Byte>)

Writes a field without type info (expected type is statically known).

Explicit Interface Implementations

IFieldCodec<Memory<Byte>>.ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

IFieldCodec<Memory<Byte>>.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Memory<Byte>)

Writes a field.

Applies to