System.Classes.TReader.ReadInteger

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReadInteger: Integer;

C++

int __fastcall ReadInteger();

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TReader

Description

Reads and returns an integer type number from the reader object's stream.

ReadInteger is a helper method used by other reader methods to read a tagged integer value at the current reader Position.

ReadInteger calls ReadValue to read the value-type indicator. If the retrieved value-type indicator is:

ReadInteger advances the reader Position after the last byte it has read.

See Also