Skip to main content

Class: BufferedRenderStream

A RenderStream implementation that buffers rendered content in memory.

Implements

Constructors

new BufferedRenderStream()

new BufferedRenderStream(buffer): BufferedRenderStream

Parameters

buffer: string[] = []

Returns

BufferedRenderStream

Defined in

src/io/output_stream.ts:21

Methods

toString()

toString(): string

Returns a string representation of an object.

Returns

string

Defined in

src/io/output_stream.ts:27


write()

write(value): void

Write rendered content to the output stream.

Parameters

value: string

Template output text.

Returns

void

Implementation of

RenderStream.write

Defined in

src/io/output_stream.ts:23