Declaration¶
Source position: objects.pp line 415
Inheritance¶
Description¶
The TMemoryStream object implements a stream that stores it's data in memory. The data is stored on the heap, with the possibility to specify the maximum amount of data, and the size of the memory blocks being used.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Done | default | Clean up memory and destroy the object instance. |
| Init | default | Initialize memory stream, reserves memory for stream data. |
| Read | default | Read data from the stream to a location in memory. |
| Truncate | default | Set the stream size to the current position. |
| Write | default | Write data to the stream. |