0x0D is hexadecimal 0D which is decimal 13 which is octal 15 (or 015).
Similarly, 0x0A is hexadecimal 0A which is decimal 10 which is octal 12 (or 012).
I think you have been confused by the fact that in the post you were commenting, the hex and octal forms were used, not the decimal.
BTW, did you know that this thread is 7 years old? :)
Careful with that hash Eugene.
In reply to Re^2: A Little History on 0D0A
by psini
in thread Cross platform file I/O code
by Beatnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |