def two_bytes_to_int(hi_byte: int, low_byte: int) -> int:
    """
    Converts two bytes to a normal integer value.
    :param hi_byte: the high byte
    :param low_byte: the low byte
    :return: converted integer that has a value between [0-65535]
    """
    return ((hi_byte & 0xFF)*256) + (low_byte & 0xFF)