gizai:ml/bytes
a model to bytes and back.
import * as Bytes from "gizai:ml/bytes";Functions
encode
function encode(m: Model): bytesThe model as bytes: "GZML", the format version, then the fields in order.
Effects: fail.
decode
function decode(data: bytes): Model throws stringThe model of encode; each later format version keeps reading the earlier ones.
Effects: fail.