| 61 | } |
| 62 | |
| 63 | void Finish() { |
| 64 | // Store current byte if we didn't went past bitmap storage |
| 65 | if (length_ > 0 && (bit_mask_ != 0x01 || position_ < length_)) { |
| 66 | bitmap_[byte_offset_] = current_byte_; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | int64_t position() const { return position_; } |
| 71 |