Using Streams
From RAD Studio XE
Go Up to Using the VCL-RTL Index
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
- Procedure: Copying Data From One Stream To Another
- Specifying the stream position and size