| 153 | void Clear() {} |
| 154 | |
| 155 | void Next() { |
| 156 | bit_mask_ = static_cast<uint8_t>(bit_mask_ << 1); |
| 157 | ++position_; |
| 158 | if (bit_mask_ == 0) { |
| 159 | // Finished this byte, need advancing |
| 160 | bit_mask_ = 0x01; |
| 161 | bitmap_[byte_offset_++] = current_byte_; |
| 162 | current_byte_ = 0; |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | void Finish() { |
| 167 | // Store current byte if we didn't went go bitmap storage |
nothing calls this directly
no outgoing calls
no test coverage detected