September 2019
Intermediate to advanced
792 pages
19h 42m
English
Either write something worth reading or do something worth writing.—Benjamin Franklin

This chapter introduces streams, the major concept that enables you to connect inputs from any kind of source and outputs to any kind of destination using a common framework. You’ll learn about the classes that form the base elements of this common framework, several built-in facilities, and how to incorporate streams into user-defined types.
A stream models a stream of data. In a stream, data flows between objects, and those objects can perform arbitrary processing on the data. When you’re working with streams, output is data going into the ...
Read now
Unlock full access