Where can I find a ByteUtils implementation to do String operations (indexOf, split, etc.) on a byte array?
<p>I will be using byte arrays instead of String so I need to perform String operations on them. Of course I cannot create a String from them and get the byte array back after the operation. I need to perform the operation on the spot, something like below:</p>

<pre><code>   int x = ByteUtils.indexOf(myByteArray, (byte) 'a');
</code></pre>

<p><strong>EDIT1: Assuming ONE byte => ONE char (no unicode, this is ASCII).</strong></p>

<p>EDIT2: I need a bunch of string operations, not just indexOf.</p>
