Sign in Join
FPDoc Onlineexperiment

TLRSObjectReader.ReadInt16 function

Member of TLRSObjectReaderpublicIn unit LResources

Declaration

pascal
function ReadInt16: SmallInt; override

Description

Not described here; this is what TAbstractObjectReader.ReadInt16 says of it:

Read a 16-bit integer from the stream.

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.

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