Partager via


Int32Codec.WriteField Méthode

Définition

Surcharges

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

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

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

Écrit un champ.

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

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

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
Int32

La valeur.

S’applique à

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

Écrit un champ.

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

La valeur.

actualType
Type

Type réel.

S’applique à