rogersce / cnpy

library to read/write .npy and .npz files in C/C++
MIT License
1.34k stars 304 forks source link

seperated npy_save into npy_save_head and npy_save_body #82

Closed AdorablePotato closed 6 months ago

AdorablePotato commented 2 years ago

Hi,

thank you for publishing this project!

I split up the save function in a header and body part so that I can store non-contiguous arrays (or bytestreams) with your library. Feel free to ignore this pull-request if you have any objections or don't like the coding style :)

Ben