Java readFile from byte x to byte y
<p>Im trying to read a text file, x bytes at a time into a variable, process each "chunk" and write it to another file.</p>

<p>So far all I can do sucessfully is:</p>

<pre><code>// read each line at a time:
while ( ( str = in.readLine() ) != null){ ....
</code></pre>

<p>Is it possible to specify something like...  str = in.readBytes( 320 up to 400 ) ... ???</p>

<p>Any thoughts or comments welcome.</p>
