wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
bit_stream.hpp File Reference

Little-endian bit streams over record buffers — the primitive the WDC family's bitpacked column storage is built on. More...

#include <cstddef>
#include <cstdint>
#include <cstring>
Include dependency graph for bit_stream.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  wowlib::db::wdc::BitReader
 A bounds-guarded little-endian bit reader over a record's byte span. More...
class  wowlib::db::wdc::BitWriter
 A little-endian bit writer over a record buffer — the encode counterpart of BitReader. More...

Namespaces

namespace  wowlib
namespace  wowlib::db
namespace  wowlib::db::wdc

Detailed Description

Little-endian bit streams over record buffers — the primitive the WDC family's bitpacked column storage is built on.

A "bit offset" here is absolute within the record: bit 0 is the least-significant bit of the record's first byte, bit 8 the LSB of its second byte, and so on — exactly the addressing field_storage_info's fieldOffsetBits uses.

Definition in file bit_stream.hpp.