Redigera

Dela via


IFieldCodec<T> Interface

Definition

Provides functionality for reading and writing values of a specified type. Implements the IFieldCodec

public interface IFieldCodec<T> : Orleans.Serialization.Codecs.IFieldCodec
type IFieldCodec<'T> = interface
    interface IFieldCodec
Public Interface IFieldCodec(Of T)
Implements IFieldCodec

Type Parameters

T

The type which this implementation can read and write.

Derived
Implements

Methods

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

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object)

Writes a field using the provided untyped value. The type must still match the codec instance!

(Inherited from IFieldCodec)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, T)

Writes a field.

Explicit Interface Implementations

IFieldCodec.ReadValue<TInput>(Reader<TInput>, Field)
IFieldCodec.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object)

Applies to

See also