Skip to content

TTemplateParser.ParseStream

Parse a stream and substitute variables.

Declaration

Source position: fptemplate.pp line 87

public 
function TTemplateParser.ParseStream(Src: TStream; Dest: TStream)
                                     : Integer;

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

Name Description
ParseString
ParseStrings
ParseFiles