TXmlScanner

SetBuffer

PROCEDURE SetBuffer (Buffer : PChar);

Makes the given buffer the data buffer where the parser gets the data from. This buffer must not be deallocated as long as Execute is working on it.

The Buffer must be null terminated.

The parser will not modify the contents of the buffer.

Parameters

Buffer Pointer of the Buffer to use

See also

LoadFromFile, LoadFromBuffer