Antoine Pitrou created ARROW-9116:
-------------------------------------

             Summary: [C++] Add BinaryArray::total_values_length()
                 Key: ARROW-9116
                 URL: https://issues.apache.org/jira/browse/ARROW-9116
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Antoine Pitrou
             Fix For: 1.0.0


It's often useful to compute the total data size of a binary array.
Sample implementation:
{code:c++}
  int64_t total_values_length() const {
    return raw_value_offsets_[length() + data_->offset] - 
raw_value_offsets_[data_->offset];
  }
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to