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

Method BitWriter

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

buffer: buffer to write bits to. Buffer should be preallocated with 'buffer_len' bytes.

Source from the content-addressed store, hash-verified

40 /// buffer: buffer to write bits to. Buffer should be preallocated with
41 /// 'buffer_len' bytes.
42 BitWriter(uint8_t* buffer, int buffer_len) : buffer_(buffer), max_bytes_(buffer_len) {
43 Clear();
44 }
45
46 void Clear() {
47 buffered_values_ = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected