System.Classes.TBinaryReader.ReadInt16
Delphi
function ReadInt16: SmallInt; inline;
C++
short __fastcall ReadInt16();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TBinaryReader |
Description
Reads a shortint value from the stream. ReadInt16 reads a Shortint value from the underlying stream, advances into the stream, and returns it. ReadShortInt also reads Shortint; these two methods are similar.