29 static void encode(uint64_t x, uint64_t *& z, uint8_t offset);
38 assert(s_offset < 64);
40 uint64_t w = (*s >> s_offset);
41 uint8_t last_bit = w & 1;
43 while (i < bit_length)
46 while (last_bit == (w & 1) and i < bit_length)
61 result += Coder::encoding_length(len);
static uint64_t encoding_length(const uint64_t *s, uint8_t s_offset, size_type bit_length)
static void encode(uint64_t x, uint64_t *&z, uint8_t offset)
coder_comma.hpp contains the class sdsl::coder::comma
coder_elias_delta.hpp contains the class sdsl::coder::elias_delta
coder_elias_gamma.hpp contains the class sdsl::coder::elias_gamma
coder_fibonacci.hpp contains the class sdsl::coder::fibonacci
int_vector.hpp contains the sdsl::int_vector class.
Namespace for the succinct data structure library.