Why no readUnsignedInt in RandomAccessFile class?
<p>I just found there is no <code>readUnsignedInt</code>() method in the <code>RandomAccessFile</code> class. Why? Is there any workaround to read an unsigned int out from the file?</p>

<p><strong>Edit:</strong></p>

<p>I want to read an unsigned int from file and put it into a long space.</p>

<p><strong>Edit2:</strong></p>

<p>Cannot use readLong(). it will read 8 bytes not 4 bytes. the data in the file have unsigned ints in 4 bytes range.</p>

<p><strong>Edit3:</strong></p>

<p>Found answer here: <a href="http://www.petefreitag.com/item/183.cfm" rel="nofollow">http://www.petefreitag.com/item/183.cfm</a></p>

<p><strong>Edit4:</strong></p>

<p>how about if the data file is little-endian? we need to bits swap first?</p>
