Sign in Join
FPDoc Onlineexperiment

TBinaryObjectReader class

In unit Classes

Driver class descendant which reads component data stored in binary format.

Declaration

pascal
TBinaryObjectReader = class(TAbstractObjectReader)

Inheritance

  1. TBinaryObjectReader
  2. TAbstractObjectReader

Descends from it: TBidirBinaryObjectReader

Description

The TBinaryObjectReader class reads component data stored in binary form in a file. For this, it overrides or implements all abstract methods from TAbstractObjectReader. No new functionality is added by this class, it is a driver class for the streaming system.

It should never be necessary to create an instance of this class directly. Instead, the WriteComponent call should be used.

See also

Properties

Versionpublic
DelphiCompatiblepublic

Methods

CurrentValueprotected
ByteToValueTypeprotected
ReadWordprotected
ReadDWordprotected
ReadQWordprotected
ReadExtendedprotected
SkipPropertyprotected
SkipSetBodyprotected
CreatepublicCreates a new binary data reader instance.
DestroypublicDestroys the binary data reader.
NextValuepublicReturn the type of the next value.
ReadValuepublicRead the next value in the stream.
ReadPrefixpublic
BeginRootComponentpublicStart reading the root component.
BeginComponentpublicStart reading a component.
BeginPropertypublicStart reading a property.
ReadpublicRead raw data from stream.
ReadBinarypublicStart reading a binary value.
ReadFloatpublicRead a float value.
ReadSinglepublicRead a single-size float value.
ReadDoublepublic
ReadDatepublicRead a date.
ReadCurrencypublicRead a currency value from the stream.
ReadIdentpublicRead an identifier.
ReadInt8publicRead an 8-bits integer.
ReadInt16publicRead a 16-bits integer.
ReadInt32publicRead a 32-bits integer.
ReadInt64publicRead a 64-bits integer.
ReadSetpublicRead a set.
ReadSignaturepublicReads the filer signature.
ReadStrpublicRead a short string.
ReadStringpublicRead a string.
ReadWideStringpublicRead a widestring value from the stream.
ReadUnicodeStringpublicRead a Unicode string value.
SkipComponentpublicSkip a component's data.
SkipValuepublicSkip a value's data.

Fields

FStreamprotected
FBufferprotected
FBufSizeprotected
FBufPosprotected
FBufEndprotected
FVersionprotected
FCurrentValueprotected
FDelphiCompatibleprotected

Types and constants

TBOVersionpublic
UnitnameSeparatorpublic
DelphiDoubleValuepublic

Inherited

From TAbstractObjectReader (1)

FlushBuffer

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