Im trying to read a text file, x bytes at a time into a variable, process each "chunk" and write it to another file.
So far all I can do sucessfully is:
// read each line at a time:
while ( ( str = in.readLine() ) != null){ ....
Is it possible to specify something like... str = in.readBytes( 320 up to 400 ) ... ???
Any thoughts or comments welcome.