pub fn write_array<W: Write>(
writer: &mut W,
array: &DynArray,
) -> FerrayResult<()>Expand description
Write a DynArray to writer as an .npy v1.0 stream.
Standalone equivalent of numpy.lib.format.write_array. Internally
delegates to crate::npy::save_dynamic_to_writer.
ยงErrors
Returns errors from the underlying NPY writer (I/O failure, dtype not encodable as a NumPy descriptor, etc.).