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

Method Reset

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

Source from the content-addressed store, hash-verified

130 }
131
132 void Reset(const uint8_t* buffer, int buffer_len) noexcept {
133 buffer_ = buffer;
134 max_bytes_ = buffer_len;
135 byte_offset_ = 0;
136 bit_offset_ = 0;
137 buffered_values_ =
138 detail::ReadLittleEndianWord(buffer_ + byte_offset_, max_bytes_ - byte_offset_);
139 }
140
141 /// Gets the next value from the buffer. Returns true if 'v' could be read or false if
142 /// there are not enough bytes left.

Callers

nothing calls this directly

Calls 1

ReadLittleEndianWordFunction · 0.85

Tested by

no test coverage detected