PHP's unpack method functionality in Java
<p>I am wondering what the algorithm behind <code>unpack()</code> method in PHP is? Is there maybe an equivalent in Java which I could use?</p>

<p><em>What would be the best way to implement PHP <code>unpack()</code> method in Java?</em></p>
