| | | 11.6.1.Understanding Streams |
|
|
- A stream 'is' a sequence of bytes
- When writing data to a stream, the stream is called an output stream.
- When reading data from a stream, the stream is called an input stream.
- If a stream has a buffer in memory, it is a buffered stream.
- Binary Streams contain binary data.
- Character Streams have character data and are used for storing and retrieving text
|
| Class | Description | | InputStream | The base class for byte stream input operations. | | OutputStream | The base class for byte stream output operations. | | BufferedInputStream | Buffers input from another stream in memory to make the read operations more efficient. |
|
|