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

Method AdvanceBytes

cpp/src/arrow/util/bit_stream_utils_internal.h:341–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341inline bool BitReader::AdvanceBytes(int num_bytes) {
342 if (ARROW_PREDICT_FALSE(num_bytes > max_bytes_ - byte_offset_)) {
343 return false;
344 }
345 byte_offset_ += num_bytes;
346 bit_offset_ = 0;
347 buffered_values_ =
348 detail::ReadLittleEndianWord(buffer_ + byte_offset_, max_bytes_ - byte_offset_);
349 return true;
350}
351
352template <typename Int>
353inline bool BitWriter::PutVlqInt(Int v) {

Callers

nothing calls this directly

Calls 1

ReadLittleEndianWordFunction · 0.85

Tested by

no test coverage detected