Re: [C++] raw_values() for BinaryArray

2017-09-17 Thread Wes McKinney
hi Rares, I think there is much more potential for confusion with binary values (vs. fixed-width values) because any array may have a non-zero offset (from being sliced). If you have const int32_t* value_offsets = binary_arr.raw_value_offsets(); then this accounts for any non-zero slice offset

[C++] raw_values() for BinaryArray

2017-09-17 Thread Rares Vernica
Hi, I have a question about the Array C++ API. BinaryArray has a raw_value_offsets() public member. Should it also have a raw_vaues() public member to give a pointer to the start of raw data? Or is this not feasible? Thanks, Rares