#include <varint.hpp>
|
std::vector< uint8_t > | data |
|
◆ add_one_byte()
void vg::varint_vector_t::add_one_byte |
( |
const uint8_t & |
byte | ) |
|
|
inline |
◆ add_value()
void vg::varint_vector_t::add_value |
( |
size_t |
value | ) |
|
◆ byte_count()
size_t vg::varint_vector_t::byte_count |
( |
| ) |
const |
|
inline |
◆ from_vector()
void vg::varint_vector_t::from_vector |
( |
const std::vector< size_t > & |
values | ) |
|
Load from a normal vector.
◆ get_value_and_next_index()
std::pair< size_t, size_t > vg::varint_vector_t::get_value_and_next_index |
( |
size_t |
index | ) |
const |
◆ operator==()
bool vg::varint_vector_t::operator== |
( |
const varint_vector_t & |
other | ) |
const |
|
inline |
◆ print_self()
void vg::varint_vector_t::print_self |
( |
| ) |
const |
Print bit representation for debugging.
◆ to_vector()
std::vector< size_t > vg::varint_vector_t::to_vector |
( |
| ) |
const |
◆ data
std::vector<uint8_t> vg::varint_vector_t::data |
◆ MAX_VALUE
const static uint8_t vg::varint_vector_t::MAX_VALUE = (1 << USABLE_BITS) - 1 |
|
staticprivate |
◆ USABLE_BITS
const static size_t vg::varint_vector_t::USABLE_BITS = 7 |
|
staticprivate |
The documentation for this struct was generated from the following files: