|
-
July 28th, 2005, 09:25 AM
#1
bit operations
Hi,
I was hoping I could get some insight on the best way to remove a bit from an array of bytes.
For example:
I have an unsigned char data[10];
I want to remove bit 5 from the second byte of the array and then shift the remaining bits to the left (the end of the array can be zero padded).
Does anyone know of an efficient way to accomplish this?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|