import base64
import textwrap


def encode_object_data(data):
    """
    Encodes bytes using base64 and wraps the lines at 64 charachters.

    :param bytes data:
       the data to be encoded

    :returns:
        the line-wrapped base64 encoded data as a list of strings, one string
        per line
    :rtype: list(str)
    """
    encoded_data = base64.b64encode(data).decode("ascii")
    return textwrap.wrap(encoded_data, width=64, break_long_words=True)