Classes.TStream.GetSize

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

From Classes.pas

	function GetSize(): Int64; virtual;


Unit: Classes

Type: method

Visibility: protected

Member Of: TStream

C++ Information

From Classes.hpp

	virtual __int64 __fastcall GetSize(void);


Unit: Classes

Type: method

Visibility: protected

Member Of: TStream

Description

Returns the size of the streamed resource as an Int64.


GetSize sets its head at the start of the stream, then seeks to the end and returns the steps made, without corrupting the initial position of the head (before the function was called).

Note:  GetSize is virtual and therefore can be reimplemented by descendant classes of TStream.
Personal tools
Translations
Newest Version