leb128
Types used to decode Little Endian Base 128 numbers used to store large numbers as space efficiently as possible
Types
std::mem::AlignTo
std::mem::AlignTo
Aligns the cursor to the given alignment
<alignment>
: The alignment to align to
std::mem::Bytes
std::mem::Bytes
A type representing a sequence of bytes without any specific meaning
<Size>
: The size of the sequence
std::mem::Endian
std::mem::Endian
The Endianess of a value
std::mem::MagicSearch
std::mem::MagicSearch
Searches for a sequence of bytes and places the given type at that address
<Magic>
: The magic sequence to search for<T>
: The type to place at the address
std::mem::Reinterpreter
std::mem::Reinterpreter
Reinterprets a value as a different one
<From>
: The type to reinterpret from<To>
: The type to reinterpret to
std::mem::Section
std::mem::Section
A Handle for a custom Section
type::LEB128
type::LEB128
Legacy alias for uLEB128
type::LEB128Base
type::LEB128Base
Base LEB128 type. Use uLEB128
and sLEB128
instead.
type::sLEB128
type::sLEB128
A signed variant of a LEB128 number
type::uLEB128
type::uLEB128
A unsigned variant of a LEB128 number
Last updated