classcamAxonPlugin::ZincWriter
sys::Obj camAxonPlugin::ZincWriter : camAxonPlugin::GridWriter
@
Js
ZincWriter serializes Grids to an output stream. See docSkyspark
- close
This close()
Close underlying stream
- flush
This flush()
Flush underlying stream
- gridToStr
static Str gridToStr(Grid grid, Str version)
Format a grid to a zinc string in memory.
- make
new make(OutStream out, Str zincVersion)
Wrap given output stream
- nl
This nl()
Write "\n" to stream
- scalarToStr
static Str scalarToStr(Obj? val)
Get a scalar value as a zinc string.
static Str tagsToStr(Obj tags)
Format a set of tags to a string in memory which can be parsed with ZincReader.readTags. The tags can be a
Dict
or aStr:Obj
map.- writeGrid
virtual override This writeGrid(Grid grid)
Write a grid to stream
- writeGrids
virtual override This writeGrids(Grid[] grids)
Write a list of grids to stream
- zincVersion
Str zincVersion