copy_array_into_sample

Function copy_array_into_sample 

Source
pub fn copy_array_into_sample(
    target_buffer: &mut [u8],
    arrow_array: &ArrayData,
) -> ArrowTypeInfo
Expand description

Copy the given Arrow array into the provided buffer.

If the Arrow array consists of multiple buffers, they are placed continuously in the target buffer (there might be some padding for alignment)

Panics if the buffer is not large enough.