classcamAxonPlugin::ZincWriter

sys::Obj
  camAxonPlugin::ZincWriter : camAxonPlugin::GridWriter

@Js

ZincWriter serializes Grids to an output stream. See docSkyspark

close

Source

This close()

Close underlying stream

flush

Source

This flush()

Flush underlying stream

gridToStr

Source

static Str gridToStr(Grid grid, Str version)

Format a grid to a zinc string in memory.

make

Source

new make(OutStream out, Str zincVersion)

Wrap given output stream

nl

Source

This nl()

Write "\n" to stream

scalarToStr

Source

static Str scalarToStr(Obj? val)

Get a scalar value as a zinc string.

tagsToStr

Source

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 a Str:Obj map.

writeGrid

Source

virtual override This writeGrid(Grid grid)

Write a grid to stream

writeGrids

Source

virtual override This writeGrids(Grid[] grids)

Write a list of grids to stream

zincVersion

Source

Str zincVersion