I think I see the confusion. It depends on how you line up the bytes.
For Binary arrays, they go from Right To Left.
Here's the results again ...<table border=1><tr><td align=center>
11111110
00000011
11111000
00011111
11000000
01111111
00000000
11111110
00000111
11110000
00011111
10000000
11111111
00000000
11111100
</td></tr><tr><td align=left>Correct way.<br>4 bytes Aligned right to left<br>
<pre> 00011111111110000000001111111110<br> |------ 19 -------|</pre>
</td></tr><tr><td>Wrong way.<br>4 bytes Aligned left to right <br>
<pre> 11111110000000111111100000011111<br> |---- 14 ----|</pre>
</td></tr></table>
HTH,
Bookmarks