Unit 'fpTemplate' Package
[Overview][Constants][Types][Classes][Variables][Index] [#fcl]

TTemplateParser.ParseStream

Parse a stream and substitute variables.

Declaration

Source position: fptemplate.pp line 87

public function TTemplateParser.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

ParseString

ParseStrings

ParseFiles


Documentation generated on: Dec 15 2025