type

ZincWriter

@Js
class ZincWriter : Obj

Write Haystack data in Zinc format.

constructors

make

Wrap given output strea

methods

close

Close underlying stream

flush

Flush underlying stream

gridToStr

Format a grid to a zinc string in memory.

valToStr

Get a value as a zinc string.

writeGrid

Write a grid to stream

writeVal

Write a zinc value

Slot Details

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 override This writeGrid(Grid grid)

Write a grid to stream

writeVal

Void writeVal(Obj? val)

Write a zinc value