Adam Biser wrote:
I did some testing and found out that this is happening because the file is being created in TEXT mode instead of BINARY mode and therefore every 0x0A that is written becomes 0x0D, 0x0A.
OH NO!! You're great, Adam! Good work! Thanks!
How could I forget about binary vs text files
I updated the tutorial