Sign in Join
FPDoc Onlineexperiment

TXMLObjectWriter.WriteBinary procedure

Member of TXMLObjectWriterpublicIn unit Laz_XMLStreaming

Serializes a binary value from the specified buffer.

Declaration

pascal
procedure WriteBinary(const Buffer; Count: LongInt); override

Arguments

Buffer

Untyped buffer with the binary value serialized in the method.

Count

Number of bytes in the untyped buffer.

Description

WriteBinary calls GetPropertyElement to create the DOM element used to serialize the property. The content in Buffer is converted to a String type and stored in the 'value' attribute for the DOM element.

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