P
Pratap Das
Hi all,
Is there any concept of bit arrays and routines to manipulate them in
C?
Basically I need to form bit arrays of different sizes eg: 5 bits , 6
bits etc and then interpolate the bits of these arrays together to
form a big array...ie some kind of bit interleaving.
What is the most efficient way to do that in C? If I use uint8 etc
then eventually I am wasting some bits.
Thanks for all the help in advance.
--Das
Is there any concept of bit arrays and routines to manipulate them in
C?
Basically I need to form bit arrays of different sizes eg: 5 bits , 6
bits etc and then interpolate the bits of these arrays together to
form a big array...ie some kind of bit interleaving.
What is the most efficient way to do that in C? If I use uint8 etc
then eventually I am wasting some bits.
Thanks for all the help in advance.
--Das