Using Streams
Go Up to RTL
Streams are classes that let you read and write data. They provide a common interface for reading and writing to different media such as memory, strings, sockets, and BLOB fields in databases. There are several stream classes, which all descend from TStream. Each stream class is specific to one media type. For example, TMemoryStream reads from or writes to a memory image, TFileStream reads from or writes to a file.
Topics
The following topics describe the methods common to all stream classes:
- Using Streams to Read or Write Data
- Copying Data Between Streams
- Specifying the Stream Position and Size
See Also
- Procedure: Copying Data From One Stream To Another
- System.Classes.TStream
- Working with Files
- Using File Streams