[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TBinaryObjectReader

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

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

Declaration

Source position: classesh.inc line 840

type TBinaryObjectReader = class(TAbstractObjectReader)

public

  constructor Create();

  

Creates a new binary data reader instance.

  destructor Destroy; override;

  

Destroys the binary data reader.

  function NextValue; override;

  

Return the type of the next value.

  function ReadValue; override;

  

Read the next value in the stream

  procedure BeginRootComponent; override;

  

Start reading the root component.

  procedure BeginComponent(); override;

  

Start reading a component.

  function BeginProperty; override;

  

Start reading a property.

  procedure ReadBinary(); override;

  

Start reading a binary value.

  function ReadFloat; override;

  

Read a float value

  function ReadSingle; override;

  

Read a single-size float value

  function ReadCurrency; override;

  function ReadDate; override;

  

Read a date.

  function ReadIdent(); override;

  

Read an identifier

  function ReadInt8; override;

  

Read an 8-bits integer.

  function ReadInt16; override;

  

Read a 16-bits integer.

  function ReadInt32; override;

  

Read a 32-bits integer.

  function ReadInt64; override;

  

Read a 64-bits integer.

  function ReadSet(); override;

  

Read a set

  function ReadStr; override;

  

Read a short string

  function ReadString(); override;

  

Read a string

  function ReadWideString; override;

  procedure SkipComponent(); override;

  

Skip a component's data

  procedure SkipValue; override;

  

Skip a value's data

end;

Inheritance

TBinaryObjectReader

  

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

|

TAbstractObjectReader

  

Abstract driver class to read stored component data.

|

TObject

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.

See also

TAbstractObjectReader

  

Abstract driver class to read stored component data.

TBinaryObjectWriter

  

Driver class which stores component data in binary form.