Partager via


UInt16Codec.WriteField Méthode

Définition

Surcharges

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

Écrit un champ sans informations de type (le type attendu est statiquement connu).

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

Écrit un champ.

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

Écrit un champ sans informations de type (le type attendu est statiquement connu).

public static void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, ushort value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * uint16 -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
Public Shared Sub WriteField(Of TBufferWriter As IBufferWriter(Of Byte)) (ByRef writer As Writer(Of TBufferWriter), fieldIdDelta As UInteger, value As UShort)

Paramètres de type

TBufferWriter

Type d’enregistreur de mémoire tampon.

Paramètres

writer
Writer<TBufferWriter>

Enregistreur.

fieldIdDelta
UInt32

Delta de l’identificateur de champ.

value
UInt16

La valeur.

S’applique à

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

Écrit un champ.

public static void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, ushort value, Type actualType) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * Type * uint16 * Type -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
Public Shared Sub WriteField(Of TBufferWriter As IBufferWriter(Of Byte)) (ByRef writer As Writer(Of TBufferWriter), fieldIdDelta As UInteger, expectedType As Type, value As UShort, actualType As Type)

Paramètres de type

TBufferWriter

Type d’enregistreur de mémoire tampon.

Paramètres

writer
Writer<TBufferWriter>

Enregistreur.

fieldIdDelta
UInt32

Delta de l’identificateur de champ.

expectedType
Type

Type attendu.

value
UInt16

La valeur.

actualType
Type

Type réel.

S’applique à