import base64


def encode_bytes(bytes_):
    """ Encodes some given bytes into base64 using utf-8.

    :param bytes bytes_: The bytes to encode
    :return: The bytes encoded base64 string
    :rtype: str
    """

    return base64.encodebytes(bytes_).decode("utf-8")