 tuples containing the key and size of each
    raw data segment.
:param raw_data: A bytestring containing the data.
:return: A list of memos to retrieve the record later. Each memo is an
    opaque index memo. For _DirectPackAccess the memo is (index, pos,
    length), where the index field is the write_index object supplied
    to the PackAccess object.
r'