| 26 | } |
| 27 | |
| 28 | static void write_one_bits( |
| 29 | std::vector<bool>& bits, unsigned& cursor, unsigned count) |
| 30 | { |
| 31 | while (count--) |
| 32 | { |
| 33 | if (cursor < bits.size()) |
| 34 | lastBit = bits[cursor++] = 1; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | static void write_bits( |
| 39 | std::vector<bool>& bits, unsigned& cursor, const std::vector<bool>& src) |