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

Method bytes_written

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

The number of current bytes written, including the current byte (i.e. may include a fraction of a byte). Includes buffered values.

Source from the content-addressed store, hash-verified

52 /// The number of current bytes written, including the current byte (i.e. may include a
53 /// fraction of a byte). Includes buffered values.
54 int bytes_written() const {
55 return byte_offset_ + static_cast<int>(bit_util::BytesForBits(bit_offset_));
56 }
57 uint8_t* buffer() const { return buffer_; }
58 int buffer_len() const { return max_bytes_; }
59

Callers 7

TestBitArrayValuesFunction · 0.80
TestPutValueFunction · 0.80
lenMethod · 0.80
FlushMethod · 0.80
CheckBufferFullMethod · 0.80
FlushBlockMethod · 0.80
FlushValuesMethod · 0.80

Calls 1

BytesForBitsFunction · 0.85

Tested by 2

TestBitArrayValuesFunction · 0.64
TestPutValueFunction · 0.64