System.Classes.TBinaryReader.ReadSmallInt
Delphi
function ReadSmallInt: SmallInt; virtual;
C++
virtual short __fastcall ReadSmallInt();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TBinaryReader |
Description
Reads a signed 16-bit integer value from the stream. ReadSmallInt reads a Smallint value from the underlying stream, advances into the stream, and returns it. ReadSByte also reads Smallint; these two methods are similar.