I have a comparatively long file of unsigned integers (64 bits each, 0.47GB file) that I need to read and store in an array. After some brain racking I wound up using the ty
You should use buffered input, something like:
new DataInputStream( new BufferedInputStream( new FileInputStream(new File(input_file))))
Want to object of the file:
new ObjectInputStream( new BufferedInputStream( new FileInputStream(new File(file_name))))
More about difference