gimli::leb128

Module read

Source
Expand description

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

Functionsยง

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