[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class for streams.
|
Sets the size of the stream |
|
|
Reads data from the stream to a buffer and returns the number of bytes read. |
|
|
Writes data from the stream to the buffer and returns the number of bytes written. |
|
|
Sets the current position in the stream |
|
|
Reads data from the stream to a buffer |
|
|
Writes data from the stream to the buffer |
|
|
Copy data from one stream to another |
|
|
Reads component data from a stream |
|
|
Reads component data and resource header from a stream |
|
|
Write component data to the stream |
|
|
Write resource header and component data to a stream |
|
|
Write component data to a stream, relative to an ancestor |
|
|
Write resource header and component data to a stream, relative to an ancestor |
|
|
Write resource header to the stream |
|
|
Not implemented in FPC |
|
|
Read a resource header from the stream. |
|
|
Read a byte from the stream and return its value. |
|
|
Read a word from the stream and return its value. |
|
|
Read a DWord from the stream and return its value. |
|
|
Read an ansistring from the stream and return its value. |
|
|
Write a byte to the stream. |
|
|
Write a word to the stream. |
|
|
Write a DWord to the stream. |
|
|
Write an ansistring to the stream. |
|
|
The current position in the stream. |
|
|
The current size of the stream. |
|
|
The current position in the stream. |
|
|
The current size of the stream. |
|
|
Base class for streams. |
|
| | ||
TStream is the base class for all streaming classes. It defines abstract methods for reading, writing from and to streams, as well as functions to determine the size of the stream as well as the current position of the stream.
Descendent classes such as TMemoryStream or TFileStream then implement these abstract methods to write streams to memory or file.
|
Standard implementation of a stream that stores its data in memory |
|
|
Stream that stores its data in a named file on disk. |
|
|
Stream that stores its data in a string. |