Module write

Module write 

Source
Expand description

A module for writing integers encoded as LEB128.

Functionsยง

signed
Write the given signed number using the LEB128 encoding to the given std::io::Writeable. Returns the number of bytes written to w, or an error if writing failed.
sleb128_size
Return the size of the LEB128 encoding of the given signed number.
uleb128_size
Return the size of the LEB128 encoding of the given unsigned number.
unsigned
Write the given unsigned number using the LEB128 encoding to the given std::io::Writeable. Returns the number of bytes written to w, or an error if writing failed.