Skip to content

VarIntReaderExtensions.ReadUInt8(Reader<TInput>, WireType)

ReadUInt8(Reader<TInput>, WireType)

staticextension
View source
public static byte ReadUInt8<TInput>(this ref Reader<TInput> reader, WireType wireType)
Reads a variable-width System.Byte.

Parameters

readerReader<TInput>
The reader.
wireTypeWireType
The wire type.

Returns

A variable-width integer.