Discussion Locked

c code for compression

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

algorithm:

take the first eight bits of a data & check its matching for
(eg:data 10011101)
1)ones complement 01100010
2)twos complement 01100011
3)original match 10011101
4) matches for above three taken inreverse order 1=> 01000110
2=> 11000110
3=> 10111001

the code should be in c. madhu

2 replies

This discussion is closed to new replies.