Reading Binary Data : Introduction « File « Java Tutorial
- Java Tutorial
- File
- Introduction
You use an InputStream to read binary data.
InputStream
|
+-- FileInputStream
|
+-- BufferedInputStream
- FileInputStream enables easy reading from a file.
- BufferedInputStream provides data buffering that improves performance.
- The ObjectInputStream class is used in object serialization.