thanks alot iMalc, i find your post later.. ok i understood how to work breaking these bits but how can i read these bits breaking it in 5..
like there are 2 bytes 00000000 01000100 and now i want to read 5 bits and replace it with a,b, c respectively..
i just knw to chck the complete byte through if (char = 'a')
how can i chck these 5 bits for decompressing??
like i have to work on small bits.. that if the next 5 bits == 00000 than replace with a