MCPcopy Create free account
hub / github.com/apache/arrow / Next

Method Next

cpp/src/arrow/util/bitmap_writer.h:155–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected