Hello OC community,
I am hoping I can get help with a project where I'm saving geolyzer data. The issue is how to make the data files small enough. My current method is to write the single digit density values 0, 1, 2, 3 into string form so that it's a string of 255 numbers. Then using the debug card's deflate function on it for final writing to the file. However, that's wasting a bunch of space since its saving the characters as 8bit values when I only need 2bit.
The new way I wish to use involves saving binary data. But not the standard 8bit files but a shorter 2bit data. As in