Musings of a Gotham City Geek

What is the sound of one blog clapping?

 

Handling large data files efficiently with Java

…Let’s assume that you must read a large sum of data from a binary file and store it in an array for further processing. Java I/O is based on streams that represent a sequence of bytes. First, you must choose a stream type. We are working with binary data, so the FileInputStream class is the correct choice.

Blog comments powered by Disqus