by TwoBit · 11y ago · 0 comments
My experience there was mostly memory dumps that were byte swapped in ad hoc ways, sometimes on the tool side and sometimes at runtime. I always tell people the story of the 8000 line file with 2 functions. 4000 lines to read a data structure, and 4000 lines to write it... all done with for loops, and fread/fwrite.