Hello all, Suppose I have a byte array like this one: unsigned char arr[26]; and I would like to get 9 bits (as unsigned int) starting from bit 56 to 65? (and howto build bits 56 to 65 by a given unsigned integer) Is there any generic fanction for this out there? Thanks, Eitan.