| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Sets the size for the memory stream.
Source position: classesh.inc line 1070
public procedure TMemoryStream.SetSize(  | 
const NewSize: Int64  | 
); override;  | 
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.
  | 
The current position in the stream.  | 
|
  | 
The current size of the stream.  |