the approach is to stuff all the 24(3bit lcm of 3 and 8) bits into an integer variable, and then writing into the file from that int variable taking 1 byte at a time.** in 2 bit compression the 4 … Continue reading →