Redigera

Dela via


ArrayCodec<T> Class

Definition

Serializer for arrays of rank 1.

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

Type Parameters

T

The element type.

Inheritance
ArrayCodec<T>
Attributes
Implements

Constructors

ArrayCodec<T>(IFieldCodec<T>)

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

Methods

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

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, T[])

Writes a field.

Applies to