FileInputStream is = new FileInputStream(new File(fileName));
I am currently using FileInputStream to read in bytes from a file. (FileOutputStream for output)
I am processing the data by 4 bytes per block.
Is there anyway / use of any other buffered class or anything to imrpove it's I/O efficiency?
I tested on a 6mb file (reading in and writing out) and it took close to 2minutes.
Note: Need them to be in bytes stream because of some processing in bytes