ZFFramework
 
Loading...
Searching...
No Matches
ZFTextTemplate.h File Reference

text template util More...

Go to the source code of this file.

Functions

zfindex ZFTextTemplateApply (const ZFTextTemplateParam &param, const ZFOutput &output, const zfchar *data, zfindex dataSize=(((zfindex) -1)))
 util method to apply template to plain text
 
zfindex ZFTextTemplateApply (const ZFTextTemplateParam &param, const ZFOutput &output, const ZFInput &input)
 see ZFTextTemplateApply
 

Detailed Description

text template util

Function Documentation

◆ ZFTextTemplateApply()

zfindex ZFTextTemplateApply ( const ZFTextTemplateParam & param,
const ZFOutput & output,
const zfchar * data,
zfindex dataSize = (((zfindex) -1)) )
extern

util method to apply template to plain text

data would be applied according to ZFTextTemplateParam, and result would be written to output, return newly size written if success, or zfindexMax() if failed, you may pass an invalid output callback to calculate result size

methods: