Reading Binary Data : Introduction « File « Java Tutorial






You use an InputStream to read binary data.

InputStream
  |
  +-- FileInputStream 
  |
  +-- BufferedInputStream
  1. FileInputStream enables easy reading from a file.
  2. BufferedInputStream provides data buffering that improves performance.
  3. The ObjectInputStream class is used in object serialization.








11.1.Introduction
11.1.1.Input Output
11.1.2.Reading Binary Data
11.1.3.Writing Binary Data
11.1.4.OutputStream