Düzenle

Aracılığıyla paylaş


UInt16Codec Class

Definition

Serializer for UInt16.

[Orleans.RegisterSerializer]
public sealed class UInt16Codec : Orleans.Serialization.Codecs.IFieldCodec<ushort>
[<Orleans.RegisterSerializer>]
type UInt16Codec = class
    interface IFieldCodec<uint16>
    interface IFieldCodec
Public NotInheritable Class UInt16Codec
Implements IFieldCodec(Of UShort)
Inheritance
UInt16Codec
Attributes
Implements

Constructors

UInt16Codec()

Methods

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

Reads a value.

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

Writes a field.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, UInt16)

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

Explicit Interface Implementations

IFieldCodec<UInt16>.ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

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

Writes a field.

Applies to