Skip to content

Reader.GetVarIntByteCount(byte)

GetVarIntByteCount(byte)

static
View source
public static int GetVarIntByteCount(byte firstByte)
Gets the byte count for a variable-width integer from its first byte.

Parameters

firstBytebyte
The first byte of the encoded variable-width integer.

Returns

The encoded byte count indicated by firstByte.