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

TStream.Size

The current size of the stream.

Declaration

Source position: classesh.inc line 609

public property TStream.Size: Int64
  read GetSize
  write SetSize64;

Description

Size can be read to determine the stream size or to set the stream size.

Remark: Not all descendents of TStream support getting or setting the stream size; they may raise an exception if the Size property is read or set.

See also

TStream.Position

  

The current position in the stream.

TStream.Seek

  

Sets the current position in the stream