Skip to content

VarIntReaderExtensions.ReadInt8(Reader<TInput>, WireType)

ReadInt8(Reader<TInput>, WireType)

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

Parameters

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

Returns

A variable-width integer.