Hello. As you know to convert a byte number into bits is done like this: Bin(254) The result is: 11111110 But how do you get 254 from 11111110 ? Regards