Link to home
Start Free TrialLog in
Avatar of bcarder
bcarder

asked on

bit stuffing

I see that C++ has a library STL (list)for doing some easy bit stuffing.  But I need to do bit stuffing in C.  Does any one have any ideas for me?
Avatar of sumant032199
sumant032199
Flag of United States of America image

What is bit stuffing?
is that bitwise programming?
like and, or, xor and left-right shift.
Avatar of bcarder
bcarder

ASKER

no, I need to send a stream of data (1's & 0's) and if this stream contains 6 consecutive 1's then I need to insert a 0 after the 5th 1.
ASKER CERTIFIED SOLUTION
Avatar of RONSLOW
RONSLOW

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bcarder

ASKER

excellent site thanks for your help.