Edit

Share via


ReadOnlyMemoryCodec<T> Class

Definition

Serializer for ReadOnlyMemory<T>.

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

Type Parameters

T

The element type.

Inheritance
ReadOnlyMemoryCodec<T>
Attributes
Implements

Constructors

ReadOnlyMemoryCodec<T>(IFieldCodec<T>)

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

Methods

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

Reads a value.

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

Writes a field.

Applies to