def be16_to_native(data, signed=False) -> int:
    """ Unpacks a bytes-like object respecting big-endianness of outside world and returns an int according to signed.

    Args:
        data: bytes-like object. The data to be unpacked & converted
        signed (bool): Whether or not `data` is signed
    """
    return int.from_bytes(data[1][:2], 'big', signed=signed)