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

# TAbstractObjectReader.ReadInt32

Read a 32-bit integer from the stream.

## Declaration

Source position: classesh.inc line 1121

`public function TAbstractObjectReader.ReadInt32: LongInt; virtual; abstract;`

## Description

ReadInt32 is called by the streaming process if it expects to read an integer value with a size of 32 bits (4 bytes) from the stream (i.e. after ReadValue returned a valuetype of vaInt32). The return value is the value of the integer. Note that the size of the value in the stream does not actually have to be 4 bytes.

## See also

TAbstractObjectReader.ReadFloat |  | Read a float value from the stream.
TAbstractObjectReader.ReadDate |  | Read a date value from the stream.
TAbstractObjectReader.ReadSingle |  | Read a single (real-type) value from the stream.
TAbstractObjectReader.ReadIdent |  | Read an identifier from the stream.
TAbstractObjectReader.ReadInt8 |  | Read an 8-bit integer from the stream.
TAbstractObjectReader.ReadInt16 |  | Read a 16-bit integer from the stream.
TAbstractObjectReader.ReadInt64 |  | Read a 64-bit integer from the stream.
TabstractObjectReader.ReadSet |  | Reads a set from the stream.
TabstractObjectReader.ReadStr |  | Read a shortstring from the stream
TabstractObjectReader.ReadString |  | Read a string of type StringType from the stream.

Documentation generated on: Feb 26 2014