There exists:
const uint8_t* BaseBinaryArray::GetValue(int64_t i, offset_type*
out_length) const

What about adding:
const uint8_t* Array::GetValue(int64_t i, offset_type* out_length) const

This would allow GetValue to get the untyped bytes/length of any value?
E.g. out_length would be set to sizeof(T) for arrays of primitive type T?

For FixedSizeBinaryArray the existing GetValue would still be a valid
overload.

-John

Reply via email to