TMemoryStream object
Stream which keeps data in memory.
Declaration
TMemoryStream = class(TStream)Inheritance
Descends from it: TBytesStream
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.
See also
Methods
Init | Initialize memory stream, reserves memory for stream data. | |
Done | Clean up memory and destroy the object instance. | |
Truncate | Set the stream size to the current position. | |
Read | Read data from the stream to a location in memory. | |
Write | Write data to the stream. |
Fields
BlkCount | Number of allocated memory blocks. | |
BlkSize | Size of one memory block. | |
MemSize | Total memory size. | |
BlkList | Pointer to list of allocated blocks. |
Inherited
From TObject (42)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
