View Single Post
Old Oct 10th, 2006, 10:22 PM   #3
Game_Ender
Professional Programmer
 
Game_Ender's Avatar
 
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3 Game_Ender is on a distinguished road
If you just want to twiddle the bits (not do arithmetic on them) you can use iostream::read() to read in the number of bytes you want into a buffer and manipulate the contents of the buffer as needed.
Game_Ender is offline   Reply With Quote