Skip to main content

str_vector

Function str_vector 

Source
pub fn str_vector<B: AsRef<[u8]>>(
    arena: &mut MorselArena,
    values: &[B],
) -> ValueVector
Expand description

Convenience constructor for tests and result building: a flat string vector from byte slices, short ones inline, long ones packed into one shared buffer.