Edit

Share via


VarIntReaderExtensions.ReadUInt16<TInput> Method

Definition

Reads a variable-width UInt16.

public static ushort ReadUInt16<TInput> (this ref Orleans.Serialization.Buffers.Reader<TInput> reader, Orleans.Serialization.WireProtocol.WireType wireType);
static member ReadUInt16 : Reader * Orleans.Serialization.WireProtocol.WireType -> uint16
<Extension()>
Public Function ReadUInt16(Of TInput) (ByRef reader As Reader(Of TInput), wireType As WireType) As UShort

Type Parameters

TInput

The reader input type.

Parameters

reader
Reader<TInput>

The reader.

wireType
WireType

The wire type.

Returns

A variable-width integer.

Applies to