July 2018
Beginner to intermediate
668 pages
16h 29m
English
In the good old Pascal days, there was a set of functions to handle the I/O (Assign, Reset, Rewrite, Close, and many more). Now, we have a bunch of classes. All Delphi streams inherit from TStream and can be used as the internal stream of one of the adapter classes (by adapter, I mean an implementation of the Adapter, or Wrapper, design patterns from the Gang of Four (GoF) famous book about design patterns).
There are 10 fundamental types of streams:
|
Class |
Use |
|
System.Classes.TBinaryWriter |
Writer for binary data |
|
System.Classes.TStreamWriter |
Writer for characters to a stream |
|
System.Classes.TStringWriter |
Writer for a string |
|
System.Classes.TTextWriter |
Writer of a sequence of characters; it is an abstract ... |
Read now
Unlock full access