title: Why is my ByteString in BigEndian Format on my x86_64 architecture?
body: <p>This code:</p>
  <pre><code>import Data.Binary
  import qualified Data.ByteString.Internal as BS (c2w, w2c)
  import qualified Data.ByteString.Lazy as B
  import Data.Int
  
  main :: IO ()
  main = do
    B.putStr $ encode $ (0x01020304 :: Int32)
  </code></pre>
  <p>produces this output on my machine (run through xxd):</p>
  <pre><code>00000000: 0102 0304                                ....
  </code></pre>
  <p>which tells me that it is output in big endian order, but I have an x86_64 system, so... what's going on?</p>