title: Reversed endianness in text editor
body: <p>As part of an exercise to play with binary and ascii formats, I wrote the integer 49 to a file using a C program. In binary, its 4 byte representation is </p>
  
  <p><code>00000000 00000000 00000000 00110001</code></p>
  
  <p>In ascii, the first 3 bytes are null bytes (displayed as <code>^@</code>), and the last byte is the character <code>1</code>. When I opened this in vim, I expected to see three null bytes, followed by <code>1</code>. Instead, I saw it reversed, that is, <code>1</code> followed by three null bytes. Why is it so?</p>