System.Classes.TReader.NextValue
Delphi
function NextValue: TValueType;
C++
TValueType __fastcall NextValue();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TReader |
Description
Reads and returns the value-type indicator of the next item in the reader object's stream without moving the stream position.
NextValue is used internally by reader methods when the subsequent processing depends on a type of the data item about to be read from the reader object's stream.
After reading the value-type indicator of the next data item, NextValue returns the stream position back before the value-type indicator.