Edit

Share via


MemoryOfByteCodec.WriteField<TBufferWriter> Method

Definition

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, Memory<byte> value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * Memory<byte> -> 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 Memory(Of Byte))

Type Parameters

TBufferWriter

The buffer writer type.

Parameters

writer
Writer<TBufferWriter>

The writer.

fieldIdDelta
UInt32

The field identifier delta.

value
Memory<Byte>

The value.

Applies to