TypeCodec.WriteLengthPrefixed<TBufferWriter> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.