System.Classes.TReader.ReadBoolean

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReadBoolean: Boolean;

C++

bool __fastcall ReadBoolean();

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TReader

Description

Reads a boolean value-type indicator from the reader object's stream and returns the corresponding boolean value.

ReadBoolean is a helper method used by other reader methods to retrieve a tagged boolean value at the current reader Position. ReadBoolean uses ReadValue to read a value-type indicator:

ReadBoolean advances the stream position after the value-type indicator.

See Also