Fantom

 

class compiler::FUtil

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

Source

FUtil provides fcode encoding and decoding utilities.

readAttrs

const static FAttr[] readAttrs(InStream in)

Source

readBuf

const static Buf? readBuf(InStream in)

Source

writeAttrs

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

Source

writeBuf

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

Source

writeDoc

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

Source

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.