Compartir a través de


UInt16Codec Clase

Definición

Serializador para 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)
Herencia
UInt16Codec
Atributos
Implementaciones

Constructores

UInt16Codec()

Serializador para UInt16.

Métodos

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

Lee un valor.

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

Escribe un campo.

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

Escribe un campo sin información de tipo (se conoce estáticamente el tipo esperado).

Implementaciones de interfaz explícitas

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

Lee un valor.

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

Escribe un campo.

Se aplica a