pub fn with_capacities(capacity: usize, values: usize) -> Self {
        let mut offsets = MutableBuffer::<O>::with_capacity(capacity + 1);
        offsets.push(O::default());

        Self {
            offsets,
            values: MutableBuffer::<u8>::with_capacity(values),
            validity: None,
        }
    }
/// Initializes a new [`MutableUtf8Array`] with a pre-allocated capacity of slots and values.
Initializes a new [`MutableUtf8Array`] with a pre-allocated capacity of slots and values.
Initializes a new [ ` MutableUtf8Array ` ] with a pre - allocated capacity of slots and values .
pub fn with_capacities(capacity: usize, values: usize) -> Self {
        let mut offsets = MutableBuffer::<O>::with_capacity(capacity + 1);
        offsets.push(O::default());
        Self {
            offsets,
            values: MutableBuffer::<u8>::with_capacity(values),
            validity: None,
        }
    }
pub fn with_capacities ( capacity : usize , values : usize ) -> Self { let mut offsets = MutableBuffer :: < O > :: with_capacity ( capacity + 1 ) ; offsets . push ( O :: default ( ) ) ; Self { offsets , values : MutableBuffer :: < u8 > :: with_capacity ( values ) , validity : None , } }
Initializes a new [`MutableUtf8Array`] with a pre-allocated capacity of slots and values.
Initializes a new [ ` MutableUtf8Array ` ] with a pre - allocated capacity of slots and values .
capacity
usize
values
usize