FireDAC.Phys.OracleWrapper.TOCILobLocatorStream.GetSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetSize: Int64; override;

C++

virtual __int64 __fastcall GetSize();

Properties

Type Visibility Source Unit Parent
function protected
FireDAC.Phys.OracleWrapper.pas
FireDAC.Phys.OracleWrapper.hpp
FireDAC.Phys.OracleWrapper TOCILobLocatorStream

Description

Returns the size of the streamed resource as an Int64.

FireDAC.Phys.OracleWrapper.TOCILobLocatorStream.GetSize inherits from System.Classes.TStream.GetSize. All content below this line refers to System.Classes.TStream.GetSize.

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 descendent classes of TStream.