Skip to main content

Module writer

Module writer 

Source
Expand description

Port of src/printer/writer.ts.

Growable buffer the rendered css is written to, encoded as UTF-8. The bindings expose the written bytes to javascript as a view (no copy) and decode them lazily.

Structs§

Writer
growable utf-8 buffer

Constants§

DEFAULT_CAPACITY
default capacity of a writer, in bytes