arrow_data::data

Function new_buffers

Source
pub(crate) fn new_buffers(
    data_type: &DataType,
    capacity: usize,
) -> [MutableBuffer; 2]
Expand description

creates 2 [MutableBuffer]s with a given capacity (in slots).