Documentation ¶
Overview ¶
Package encoding implements marshaling and unmarshaling function systems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Marshal ¶
Marshal creates a JSON encoding of the renderer and system information needed to serialize the system. If system.Check returns a non-nil error, then that error is returned instead.
func Unmarshal ¶
Unmarshal decodes a xirho renderer from serialized JSON. The returned aspect is the number of columns per row in the histogram. The histogram should have its Reset method called before use. The Procs, N, and Q fields are left 0. Calling UseNumber on the decoder allows Unmarshal to guarantee full precision for xirho.Int function parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.