Redigera

Dela via


MemoryCodec<T> Class

Definition

Serializer for Memory<T>.

[Orleans.RegisterSerializer]
public sealed class MemoryCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<Memory<T>>
[<Orleans.RegisterSerializer>]
type MemoryCodec<'T> = class
    interface IFieldCodec<Memory<'T>>
    interface IFieldCodec
Public NotInheritable Class MemoryCodec(Of T)
Implements IFieldCodec(Of Memory(Of T))

Type Parameters

T

The element type.

Inheritance
MemoryCodec<T>
Attributes
Implements

Constructors

MemoryCodec<T>(IFieldCodec<T>)

Initializes a new instance of the MemoryCodec<T> class.

Methods

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

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Memory<T>)

Writes a field.

Applies to