in reply to
Re: pack/unpack binary file
in thread pack/unpack binary file
The reason I add newlines is so I can identify a certain element by where it is in the file and modify it. I'm more than likely making this harder than it needs to be due to inexperience. My current strategy is to unpack the bin file to a text file, select a value based on location, modify that value, then repack the text file. I believe I can do that by putting the output file in bin mode and then simply doing a pack, based on what I've read in this and other threads.