TBinaryObjectReader class
Driver class descendant which reads component data stored in binary format.
Declaration
TBinaryObjectReader = class(TAbstractObjectReader)Inheritance
- TBinaryObjectReader
- 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
Version | public | |
DelphiCompatible | public |
Methods
CurrentValue | protected | |
ByteToValueType | protected | |
ReadWord | protected | |
ReadDWord | protected | |
ReadQWord | protected | |
ReadExtended | protected | |
SkipProperty | protected | |
SkipSetBody | protected | |
Create | public | Creates a new binary data reader instance. |
Destroy | public | Destroys the binary data reader. |
NextValue | public | Return the type of the next value. |
ReadValue | public | Read the next value in the stream. |
ReadPrefix | public | |
BeginRootComponent | public | Start reading the root component. |
BeginComponent | public | Start reading a component. |
BeginProperty | public | Start reading a property. |
Read | public | Read raw data from stream. |
ReadBinary | public | Start reading a binary value. |
ReadFloat | public | Read a float value. |
ReadSingle | public | Read a single-size float value. |
ReadDouble | public | |
ReadDate | public | Read a date. |
ReadCurrency | public | Read a currency value from the stream. |
ReadIdent | public | Read an identifier. |
ReadInt8 | public | Read an 8-bits integer. |
ReadInt16 | public | Read a 16-bits integer. |
ReadInt32 | public | Read a 32-bits integer. |
ReadInt64 | public | Read a 64-bits integer. |
ReadSet | public | Read a set. |
ReadSignature | public | Reads the filer signature. |
ReadStr | public | Read a short string. |
ReadString | public | Read a string. |
ReadWideString | public | Read a widestring value from the stream. |
ReadUnicodeString | public | Read a Unicode string value. |
SkipComponent | public | Skip a component's data. |
SkipValue | public | Skip a value's data. |
Fields
FStream | protected | |
FBuffer | protected | |
FBufSize | protected | |
FBufPos | protected | |
FBufEnd | protected | |
FVersion | protected | |
FCurrentValue | protected | |
FDelphiCompatible | protected |
Types and constants
TBOVersion | public | |
UnitnameSeparator | public | |
DelphiDoubleValue | public |
Inherited
From TAbstractObjectReader (1)
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
