• C

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?
bcarderAsked:
Who is Participating?
 
RONSLOWConnect With a Mentor Commented:
here is a link

http://www.snippets.org/

has lots of C code for fibbling with bits (and heaps of other stuff).
0
 
sumant032199Commented:
What is bit stuffing?
is that bitwise programming?
like and, or, xor and left-right shift.
0
 
bcarderAuthor Commented:
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.
0
 
bcarderAuthor Commented:
excellent site thanks for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.