Package gg.jte.output

Class Utf8ByteOutput

java.lang.Object
gg.jte.output.Utf8ByteOutput
All Implemented Interfaces:
TemplateOutput

public final class Utf8ByteOutput extends Object implements TemplateOutput
UTF-8 template output, designed to be CPU and memory friendly. You may want to use this class, if you write to a low-level binary output stream, and you need the exact content-size of the output. CAUTION: You must enable TemplateEngine.setBinaryStaticContent(boolean), otherwise this class won't provide any benefits over StringOutput!