def bytes_to_num(bytes_, signed_=True, big_=True):
    """To get the int format of a given bytes
    (used for data_pro)

    :param bytes_: A given bytes
    :type bytes_: bytes
    :param signed_: True for signed input
    :type signed_: bool
    :param big_: Same as the "high_head" in the function 'num_to_bytes'
    :type big_: bool

    :returns: Int for bytes
    :rtype: int
    """
    if not signed_:
        if big_:
            return int.from_bytes(bytes_, byteorder='big')
        else:
            return int.from_bytes(bytes_, byteorder='little')
    else:
        if big_:
            return int.from_bytes(bytes_, byteorder='big', signed=True)
        else:
            return int.from_bytes(bytes_, byteorder='little', signed=True)