java - Packing characters into bits? -
i trying pack characters bits in terms of 0's , 1's. have looked many websites bit-packing did not of them.
i want simple idea bit-packing, , how it?
thanks
a common compression algorithim has been around long time lzw compression.
it used gzip, pkzip , jar name few , suitable compressing text. uses combination of huffman encoding, arithmetic coding , few heuristics make more efficient.
simple idea bit-packing
if find compression , bit packing in general simple, rare breed. ;)