I wish there was documentation for the file format aside from the MATLAB implementation which also just uses `reshape`.
The only sure thing about the format is that the first byte of the file is the endianness. On Thu, Oct 13, 2016 at 3:38 PM, Steven G. Johnson <stevenj....@gmail.com> wrote: > write on a numeric array will output the raw bytes, i.e. Column-major data > in the native byte order. > > Matlab arrays are also column major, so reading a Matlab-produced binary > format is probably straightforward, but you have to be careful of the byte > order. Obviously, you'll have to read the documentation on your file format > carefully. Whatever the format is, however, Julia offers enough low-level > control to read and write it efficiently.