| 387 | } |
| 388 | |
| 389 | void AppendRleRun(std::vector<uint8_t>& bytes, std::vector<bool>& expected, bool value, |
| 390 | rle_size_t count) { |
| 391 | AppendLeb128(bytes, static_cast<uint32_t>(count) << 1); // low bit 0 => RLE |
| 392 | bytes.push_back(value ? 1 : 0); |
| 393 | expected.insert(expected.end(), count, value); |
| 394 | } |
| 395 | |
| 396 | void AppendBitPackedRun(std::vector<uint8_t>& bytes, std::vector<bool>& expected, |
| 397 | const std::vector<uint8_t>& packed) { |
no test coverage detected