| 18 | } |
| 19 | |
| 20 | static void write_bits( |
| 21 | std::vector<bool>& bits, unsigned& cursor, const std::vector<bool>& src) |
| 22 | { |
| 23 | for (bool bit : src) |
| 24 | { |
| 25 | if (cursor < bits.size()) |
| 26 | lastBit = bits[cursor++] = bit; |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | static void write_bits( |
| 31 | std::vector<bool>& bits, unsigned& cursor, uint64_t data, int width) |
no test coverage detected