| 36 | } |
| 37 | |
| 38 | static void write_bits( |
| 39 | std::vector<bool>& bits, unsigned& cursor, const std::vector<bool>& src) |
| 40 | { |
| 41 | for (bool bit : src) |
| 42 | { |
| 43 | if (cursor < bits.size()) |
| 44 | lastBit = bits[cursor++] = bit; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | static void write_bits( |
| 49 | std::vector<bool>& bits, unsigned& cursor, uint64_t data, int width) |
no test coverage detected