15.18.3.The Byte Stream Classes and The Character Stream Wrapper Classes |
|
The Byte Stream Classes |
Stream Class | Description | BufferedStream | Wraps a byte stream and adds buffering. | FileStream | A byte stream designed for file I/O. | MemoryStream | A byte stream that uses memory for storage. |
|
The Character Stream Wrapper Classes. |
To create a character stream, wrap a byte stream inside one of C#'s character stream wrappers. |
- The abstract classes TextReader and TextWriter are at the top of the character stream hierarchy.
- TextReader handles input.
- TextWriter handles output.
|