What is compressed binary?
When you use COMPRESS=BINARY, patterns of multiple characters across the entire observation are compressed. Binary compression uses two techniques at the same time. This option searches for the following: Repeating byte sequences (for example, 10 blank spaces or 10 zero bytes in a row)
Can binary files be compressed?
One could compress such a file by taking each pair of bits and writing "0" if both bits were clear, "10" if the first bit was set and the second one not, "110" if the second was set and the first not, or "111" if both bits were set.
How do you compress binary bits?
You take n bytes at a time and then take the difference or the xor of the bits and then compress the result. This adds 4 options here to try for every byte count: identity a'[i] = a[i] ; difference a'[i] = a[i-1]-a[i] ; reverse difference a'[i] = a[i]-a[i-1] ; and the xor a'[i] = a[i]^a[i-1] .