Fan

 

class

compiler::FUtil

sys::Obj
  compiler::FUtil : compiler::FConst

FUtil provides fcode encoding and decoding utilities.

Slots

readAttrsSource

static FAttr[] readAttrs(InStream in)

readBufSource

static Buf? readBuf(InStream in)

writeAttrsSource

static Void writeAttrs(OutStream out, FAttr[]? fattrs)

writeBufSource

static Void writeBuf(OutStream? out, Buf? buf)

writeDocSource

static Void writeDoc(OutStream out, Str key, Str? doc)

Write a fandoc item to the specified output stream. The fandoc file format is an extremely simple plan text format with left justified type/slot qnames, followed by the fandoc content indented two spaces.