VarUint.h file
Namespaces
- namespace Jazz2
- Root namespace of Jazz² Resurrection.
- namespace Jazz2::Formats
- The game's own level and tile set formats.
Functions
-
void WriteVarUint(SmallVectorImpl<std::
uint8_t>& data, std:: uint32_t value) - Appends a variable-length unsigned integer, as the chunks of a level store them.
-
auto ReadVarUint(const std::
uint8_t*& p, const std:: uint8_t* end, std:: uint32_t& value) -> bool - Reads a variable-length unsigned integer written by WriteVarUint() and moves past it.