Trait arrow2::array::GenericBinaryArray
source · [−]pub unsafe trait GenericBinaryArray<O: Offset>: Array {
fn values(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8];
fn offsets(&self) -> &[O]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8];
}Expand description
Trait that BinaryArray and Utf8Array implement for the purposes of DRY.
Safety
The implementer must ensure that
offsets.len() > 0offsets[i] >= offsets[i-1] for all ioffsets[i] < values.len() for all i
Required methods
The values of the array