The JMP data table is a binary file. Save it in any of the usual ways (file->save, <<save) as a .JMP extension.
Yes, there is some meta data in the file, but if you have 1,000,000 rows of three 4-byte numbers, 12,000,000 bytes, the overhead of the meta data will be about ( 752 bytes / 12,000,000 bytes ), or < .01% overhead. In exchange, you
- Can load the file for free
- Don't have to worry about remembering the column names
- Can share it with other JMP users
- Can add more columns if you need to, even mix and match 8-byte doubles
- Don't need to invent another file extension (.dat, .bin, .myformat ?)
If you need to share the data with non-JMP users, a compressed CSV will be pretty small and very portable.
All that said, if you must make a binary file of some other format, see JSL BLOB in an ESP32 Clock for an example using matrixToBlob. That file is holding highly structured data with self-contained offsets within itself to represent run-length encoded data for a bitmap, connected to a lookup table for each pixel's value. It was hard to get correct and hard to test and hard to use, but gave me the results I needed.
Craige