You have 64 bits of data. Use a little math, to determine which byte the data is in, and bitRead() to read the bit from the byte. Do that as many times as needed to get all the bits that make up a value. Then, just use the value. Do not concern yourself with whether the bits represent a binary value, a decimal value, or a hexadecimal value.