Edit

Share via


TypeCodec.WriteLengthPrefixed<TBufferWriter> Method

Definition

Writes a type with a length-prefix.

public void WriteLengthPrefixed<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, Type type) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
member this.WriteLengthPrefixed : Writer * Type -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
Public Sub WriteLengthPrefixed(Of TBufferWriter As IBufferWriter(Of Byte)) (ByRef writer As Writer(Of TBufferWriter), type As Type)

Type Parameters

TBufferWriter

The buffer writer type.

Parameters

writer
Writer<TBufferWriter>

The writer.

type
Type

The type.

Applies to