Module read

Source
Expand description

A module for reading signed and unsigned integers that have been LEB128 encoded.

Functionsยง

signed
Read a signed LEB128 number from the given Reader and return it or an error if reading failed.
skip
Read bytes until the LEB128 continuation bit is not set.
u16
Read an LEB128 u16 from the given Reader and return it or an error if reading failed.
unsigned
Read an unsigned LEB128 number from the given Reader and return it or an error if reading failed.