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



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

TMemoryStream.SetSize

Sets the size for the memory stream.

Declaration

Source position: classesh.inc line 706

public procedure TMemoryStream.SetSize(

  NewSize: LongInt

); override;

Description

SetSize sets the size of the memory stream to NewSize. This will set the capacity of the stream to NewSize and correct the current position in the stream when needed.

See also

TStream.Position

  

The current position in the stream.

TStream.Size

  

The current size of the stream.

Notes

 No notes exist for this page yet. 





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