def write(self, fptr):
fptr.write(struct.pack('<STR_LIT>',<EOL>len(self.associations) * <NUM_LIT:4> + <NUM_LIT:8>, b'<STR_LIT>'))<EOL>fmt = '<STR_LIT:>>' + '<STR_LIT:I>' * len(self.associations)<EOL>write_buffer = struct.pack(fmt, *self.associations)<EOL>fptr.write(write_buffer)<EOL>
Write a NumberList box to file.