Hi,
Create a byte array and index the individual bits in that instead of the other way around. Have a look at Melanies excelent write up on how to access whatever within whatever (almost).

/Henrik.