I'm trying to read in the whole file at once. If this code ever fails, my whole project will fail. I'm using the following:
byte[] theFile = new byte[input2.available()];
then, input2.read(theFile);
The API says something about blocking. What exactly is blocking, when will it happen, and how will it affect the fact that I want the whole file to be read in at once?