pub fn npz_encode(
arrays: &[(&str, &NpyArray)],
compressed: bool,
) -> Result<Vec<u8>, ErrorsJSL>Expand description
Builds an .npz archive from named arrays (numpy.savez, or numpy.savez_compressed when
compressed): each array becomes the member <name>.npy. Names must be non-empty, distinct,
and free of /, \, .. and a trailing .npy. Sizes and offsets that do not fit 32 bits get
ZIP64 records.