def bytes_to_int(byte_string) -> int:
    """
    :param byte_string: a string formatted like b'\xd4\x053K\xd8\xea'
    :return: integer value of the byte stream
    """

    return int.from_bytes(byte_string, "big")