-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I often dump the bytes of a numpy array to a buffer for fast writing to file
| f.write(u_zz.tobytes()) |
This probably uses system endianness. Since quantized mesh files must be little-endian, presumably files written on big-endian computers would be incorrect.
Look at the Numpy byte-swapping docs for a fix
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels