Sign in Join
FPDoc Onlineexperiment

TAbstractObjectReader.ReadInt16 function

Member of TAbstractObjectReaderpublicIn unit Classes

Read a 16-bit integer from the stream.

Declaration

pascal
function ReadInt16: SmallInt; virtual; abstract

Description

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

See also

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