pub fn join_columns_in<A: Allocator>(
columns: &[StringsView<'_>],
frames: &[&[u8]],
between: &[u8],
allocator: A,
stream: &Stream,
) -> Result<Vec<u8, A>, Status>
Examples
use std::alloc::Global;
use stringzilla::{Capabilities, Stream, StringsView};
let cpu = Stream::default(Capabilities::cpu_enabled());
let names = StringsView::from_slices(&["Ada", "Grace"]);
let years = StringsView::from_u32_tape(b"18151906", &[0, 4, 8])?;
let csv = StringsView::join_columns_in(&[names, years], &[b"", b",", b""], b"\n", Global, &cpu)?;
assert_eq!(csv, b"Ada,1815\nGrace,1906");