> Expat4D Home > Documentation > Command Reference

xml_GetOutputBufferSize ( parserID ) --> size


  • --> parserID : longint
  • <-- size : longint

Returns the size of the output buffer for the parser. This may be useful in cases where you want to output the data in specific size pieces and don't want to get the output buffer in order to find out how big it currently is.

Note: this routine returns the size of the buffer in terms of how much you've appended to it, and not it's actual size in RAM.

An alternative could be for us to add a "OutputBufferFull" handler. Using this, you could set the maximum size of your output buffer, and when this limit was reach, a 4D method would be called where you could get the buffer and output the data.

  Expat4D Logo

Developer Documentation

Creating Parsers, Destroying Parsers, Parsing Text

Configuring Handler Methods

Position and Error Reporting Functions

Miscellaneous Functions

Output Buffer Functions

Error Codes


> Expat4D Home > Documentation > Command Reference

Last Modified: 27th April 2001 at 9:00 PM