Right now to achieve this, I\'m doing:
int.from_bytes(number, \'little\').to_bytes(bit_len, \'little\')
Ma