Properties
Readonly
len
len: number
Readonly
pos
pos: number
Methods
bool
- bool(): boolean
Returns boolean
bytes
- bytes(): Uint8Array
Returns Uint8Array
double
- double(): number
Returns number
fixed32
- fixed32(): number
Returns number
fixed64
- fixed64(): string | bigint
Returns string | bigint
float
- float(): number
Returns number
int32
- int32(): number
Returns number
int64
- int64(): string | bigint
Returns string | bigint
sfixed32
- sfixed32(): number
Returns number
sfixed64
- sfixed64(): string | bigint
Returns string | bigint
sint32
- sint32(): number
Returns number
sint64
- sint64(): string | bigint
Returns string | bigint
skip
- skip(wireType): Uint8Array
Returns Uint8Array
string
- string(): string
Returns string
tag
- tag(): [number, WireType]
Returns [number, WireType]
uint32
- uint32(): number
Returns number
uint64
- uint64(): string | bigint
Returns string | bigint
Number of bytes available in this reader.