help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TMemoryStream.Clear

Zeroes the position, capacity and size of the stream.

Declaration

Source position: classesh.inc line 703

public procedure TMemoryStream.Clear;

Description

Clear sets the position and size to 0, and sets the capacity of the stream to 0, thus freeing all memory allocated for the stream.

See also

TStream.Size

  

The current size of the stream.

TStream.Position

  

The current position in the stream.

TCustomMemoryStream.Memory

  

Pointer to the data kept in the memory stream.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505