Uses of Interface
io.jstach.jstachio.output.ByteBufferEncodedOutput
Package
Description
Output utility classes particularly for leveraging pre-encoding efficiently and shared
integration logic for plugging into web application frameworks.
-
Uses of ByteBufferEncodedOutput in io.jstach.jstachio.output
Modifier and TypeClassDescriptionclass
A custom OutputStream that is designed for generating bytes from pre-encoded output as well as reused carefully either by threadlocals or some other pooling mechanism.Modifier and TypeMethodDescriptionstatic ByteBufferEncodedOutput
ByteBufferEncodedOutput.ofByteArray
(Charset charset) CallsofByteArray(Charset, int)
with initial size of 4096.static ByteBufferEncodedOutput
ByteBufferEncodedOutput.ofByteArray
(Charset charset, int initialSize) Create a buffered encoded output backed by an array that will grow as needed analagous to StringBuilder and/orByteArrayOutputStream
.