Hi Peter, > These casts appear to use a particular endianness, but they don't > document which one, and there is no explanation anywhere why that one is > the right one.
Right, I choose network order / big-endian. I agree that it would make sense to emphasise this fact in the documentation below the examples. Unfortunately I have no good reason for this particular design choice other than "well this is how it is custom to represent numbers in a consistent manner between different platforms but other than that the choice was rather arbitrary". Should I just rephrase it a bit and add to the documentation? -- Best regards, Aleksander Alekseev