Tuesday, May 31, 2011

Java: Reading a file into a byte array

Reading a file into a byte array can be done as follows: