hackedbellini.org
Reading and writing bits to a file in c
When trying to implement a lzw compressor for a university class, I discovered that in c, the minimum amount of data you can write/read to a file is 1 byte, mostly because of the filesystems. To wo…