Partager via


Int16Codec.WriteField Méthode

Définition

Surcharges

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

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

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

Écrit un champ.

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

É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, short value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * int16 -> 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 Short)

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
Int16

La valeur.

S’applique à

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

Écrit un champ.

public static void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, short value, Type actualType) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * Type * int16 * 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 Short, 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
Int16

La valeur.

actualType
Type

Type réel.

S’applique à