Hex bytearray to string
<p>Originally from Java: <code>dumptofile += String.format("%02X", c[icounter]);</code></p>

<p>How would I get the output of that back into a string with PHP? (or python, but java isn't going to run on target system)</p>
