The Byte Stream Classes and The Character Stream Wrapper Classes : Stream : File Directory Stream C# Examples


C# Examples » File Directory Stream » Stream »

 

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.




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo File Directory Stream
» Stream