TCustomMemoryStream.Memory

Pointer to the data kept in the memory stream.

Declaration

Source position: classesh.inc line 1207

public Property
  Memory : Pointer;

Description

Memory points to the memory area where stream keeps it's data. The property is read-only, so the pointer cannot be set this way.

Remark

Do not write to the memory pointed to by Memory, since the memory content may be read-only, and thus writing to it may cause errors. !!!

See also

Name Description
TStream.Size The current size of the stream.