r"""
    Args:
        bytes_ (bytes):

    Returns:
        str:

    Ignore:

    CommandLine:
        python -m utool.util_hash convert_bytes_to_bigbase

    Example:
        >>> # DISABLE_DOCTEST
        >>> from utool.util_hash import *  # NOQA
        >>> import utool as ut
        >>> bytes_ = b('9999999999999999999999999999999999')
        >>> alphabet = ALPHABET_27
        >>> result = convert_bytes_to_bigbase(bytes_, alphabet)
        >>> print(result)
        fervudwhpustklnptklklcgswbmvtustqocdpgiwkgrvwytvneardkpytd

def convert_bytes_to_bigbase(bytes_, alphabet=ALPHABET_27):
    r"""
    Args:
        bytes_ (bytes):

    Returns:
        str:

    Ignore:

    CommandLine:
        python -m utool.util_hash convert_bytes_to_bigbase

    Example:
        >>> # DISABLE_DOCTEST
        >>> from utool.util_hash import *  # NOQA
        >>> import utool as ut
        >>> bytes_ = b('9999999999999999999999999999999999')
        >>> alphabet = ALPHABET_27
        >>> result = convert_bytes_to_bigbase(bytes_, alphabet)
        >>> print(result)
        fervudwhpustklnptklklcgswbmvtustqocdpgiwkgrvwytvneardkpytd
    """
    x = _bytes_to_int(bytes_)
    if x == 0:
        return '0'
    sign = 1 if x > 0 else -1
    x *= sign
    digits = []
    bigbase = len(alphabet)
    while x:
        digits.append(alphabet[x % bigbase])
        x //= bigbase
    if sign < 0:
        digits.append('-')
        digits.reverse()
    newbase_str = ''.join(digits)
    return newbase_str