I'm parsing the binary data from the bitcoin core blockchain blkxxxxx.dat files. If I read out the magic number I get this:
Why isn't it stored the other way around, as the magic number is d9b4bef9? Is this just the way bytes are stored in memory?
I'm aware this is a complete noob question, but could anybody help me understand this. Thanks.