reverse_byte_order inputs fixed