pub fn write_attachment_to_memory( note_index: NoteIdx, attachment_idx: Felt, ) -> Vec<Word>
Writes the selected input-note attachment to memory and returns it as protocol words.