BIT shifting HEx values telnet
<p>I'm controlling a device that reports back the total lamp time in seconds. The data is little endian.</p>

<pre><code>0xXX, 0xXX, 0x2A, 0x30
</code></pre>

<p>So I know that value is 10800 seconds. </p>

<p>I'm not sure if I just grab each byte and then re-order the bytes with variables or do I
actually need to shift them? But If I shift them isn't it possible I will be losing data?</p>
