View Single Post
  #2 (permalink)  
Old 08-01-2007, 06:58 AM
brianhks brianhks is offline
Senior Member
 
Join Date: Jul 2007
Posts: 134
brianhks will become famous soon enough
Is this actual character data you are reading or binary data?
If it is character data use a FileReader to read a character at a time out of the file.
If it is binary data use a FileInputStream to read a byte at a time.

both have the option to read data into either a char[] or a byte[], respectively. This way you can read chunks of the file at a time.
Reply With Quote