import base64


def encode_from_bytes(data: bytes) -> str:
    """
    Base64-encodes a sequence of bytes for transmission and storage.
    :param data: The byte sequence to encode
    :return: string representation of base64-encoded bytes
    """
    data_encoded_bytes = base64.b64encode(data)
    data_encoded_str = str(data_encoded_bytes, "utf-8")
    return data_encoded_str