Edit

Share via


UInt16Codec.WriteField Method

Definition

Overloads

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

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

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).

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)

Type Parameters

TBufferWriter

The buffer writer type.

Parameters

writer
Writer<TBufferWriter>

The writer.

fieldIdDelta
UInt32

The field identifier delta.

value
UInt16

The value.

Applies to

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

Writes a field.

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)

Type Parameters

TBufferWriter

The buffer writer type.

Parameters

writer
Writer<TBufferWriter>

The writer.

fieldIdDelta
UInt32

The field identifier delta.

expectedType
Type

The expected type.

value
UInt16

The value.

actualType
Type

The actual type.

Applies to