Streams: The Bread and Butter of I/O
The notion of a stream is the lowest you can go in terms of .NET’s managed code I/O system. Figure 28.4 shows an overview of the members of the
First of all, let’s discuss a stream’s potentially supported capabilities, which include the capability to read from and write to a stream and also the capability to seek. A seek operation basically moves a cursor—as seen through the
Position property—that indicates where the next read or write operation will take place. Another capability is whether an operation on a stream is subject to timeout. ...