I want access bit from Byte array.for example consider array of 30 bytes in which I want to access 1 to 15 bits... How to access it. kindly help me.......
if (dst_mask != 0) { *dst = dst_byte; }
To avoid an extra store when the number if bits is a multiple of 8, that should have been:
if (dst_mask != 0x80) { *dst = dst_byte; }
Sorry, my bad. Where are all you code reviewers anyway?