class

ZincWriter

@Js
class ZincWriter : Obj

Write Haystack data in Zinc format.

constructors make

Wrap given output strea

methods valToStr

Get a value as a zinc string

writeGrid

Write a grid to stream

writeVal

Write a zinc value

flush

Flush underlying stream

gridToStr

Format a grid to a zinc string in memory

close

Close underlying stream

close This close()

Close underlying stream

flush This flush()

Flush underlying stream

gridToStr static Str gridToStr(Grid grid)

Format a grid to a zinc string in memory.

make new make(OutStream out)

Wrap given output strea

valToStr static Str valToStr(Obj? val)

Get a value as a zinc string.

writeGrid virtual This writeGrid(Grid grid)

Write a grid to stream

writeVal Void writeVal(Obj? val)

Write a zinc value

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST