import base64


def b_to_b64s(b: bytes) -> str:
    """convert bytes to base 64 string

    :param b: input bytes
    :type b: bytes
    :return: output base 64 string
    :rtype: str
    """
    b64s = base64.b64encode(b).decode('utf8')
    return b64s