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

Function GetBinaryDataSize

cpp/src/parquet/encoder.cc:79–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77// Get the data size of a Array binary-like array
78template <typename ArrayType>
79int64_t GetBinaryDataSize(const ArrayType& array) {
80 return array.value_offset(array.length()) - array.value_offset(0);
81}
82
83template <>
84int64_t GetBinaryDataSize(const ::arrow::BinaryViewArray& array) {

Callers 1

PutBinaryArrayMethod · 0.85

Calls 4

value_offsetMethod · 0.45
lengthMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected