title: Getting the least significant byte
body: <p>I haven't tested on a big endian processor but would this always give me least significant byte?</p>
  
  <pre><code>int i = 12345678;
  unsigned char c = static_cast&lt;unsigned char&gt;(i);
  </code></pre>