Edit

Share via


ReadOnlyMemoryOfByteCodec Class

Definition

Serializer for ReadOnlyMemory<T>.

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

Constructors

ReadOnlyMemoryOfByteCodec()

Methods

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

Reads a value.

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

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

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to