array
The array library contains a helper type to make it easier to create multi-dimensional arrays and pass arrays to functions as parameters.
Types
std::Array
std::Array
Simple one dimensional array wrapper
<T>
: The array types<Size>
: Number of entries in the array
std::ByteSizedArray
std::ByteSizedArray
Simple array wrapper for an array with a size in bytes
<T>
: The array types<NumBytes>
: Number of bytes the array contains
std::IIndexed
std::IIndexed
An interface type for getting the index of the currently processed element in an array. This is a nice wrapper around std::core::array_index()
To use it, inherit from it and use the this.index
field to get the index of the current element
std::core::BitfieldOrder
std::core::BitfieldOrder
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 endianness 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
Last updated