Expand description
A module for writing integers encoded as LEB128.
Functions§
- Write the given signed number using the LEB128 encoding to the given
std::io::Write
able. Returns the number of bytes written tow
, or an error if writing failed. - Return the size of the LEB128 encoding of the given signed number.
- Return the size of the LEB128 encoding of the given unsigned number.
- Write the given unsigned number using the LEB128 encoding to the given
std::io::Write
able. Returns the number of bytes written tow
, or an error if writing failed.