Sign in Join
FPDoc Onlineexperiment

TTemplateParser.ParseStream function

Member of TTemplateParserpublicIn unit fpTemplate

Parse a stream and substitute variables.

Declaration

pascal
function ParseStream(Src: TStream; Dest: TStream): Integer

Arguments

Src

The stream to parse.

Dest

The stream to write the parsed content to.

Function result

Number of bytes written to the destination stream.

Description

ParseStream will read the content of stream Src, substitute all template variables with their values and write the result to stream Dest. The function returns the number of bytes written to the destination stream.

See also

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