extern crate npy;
use std::io::Read;
use npy::NpyData;
fn main() {
let mut buf = vec![];
std::fs::File::open("examples/plain.npy").unwrap()
.read_to_end(&mut buf).unwrap();
let data: NpyData<f64> = NpyData::from_bytes(&buf).unwrap();
for arr in data {
eprintln!("{:?}", arr);
}
}