Sign in Join
FPDoc Onlineexperiment

TAbstractObjectReader.ReadInt32 function

Member of TAbstractObjectReaderpublicIn unit Classes

Read a 32-bit integer from the stream.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.