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

TStream.SetSize

Sets the size of the stream

Declaration

Source position: line 0

protected procedure TStream.SetSize(

  NewSize: LongInt

); virtual; overload;

procedure TStream.SetSize(

  const NewSize: Int64

); virtual; overload;

Description

SetSize is the write handler for the TStream.Size property. The TStream implementation of SetSize does nothing, but descendent classes may override this methods to allow programmers to set the size of the stream.

See also

TStream.GetSize

TStream.Size

  

The current size of the stream.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.