Introducing Streams

Streams are sequences of bytes exchanged with some kind of sources, such as files, memory, and network. A stream is represented by the abstract System.IO.Stream class that is the base class for different kinds of streams and that implements the IDisposable interface. The Stream class exposes some common members that you find in all other streams. Table 18.3 summarizes the most important common members.

Image

TABLE 18.3 Streams Common Members

Now that you have a summarization of common members, you are ready to discover specific kinds of streams that inherit from Stream.

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.