LibFile
@Js
const mixin LibFile
LibFile models on resource file packaged into a xeto library.
Is this library published with its own URI
Read the file's input stream using a callback
Convenience to read file to in-memory string
Uri identifier with starting with slash such as "/res/icon.svg"
abstract Bool isPublished()
Is this library published with its own URI
abstract Obj? read(|InStream->Obj?| f)
Read the file's input stream using a callback. The input stream is guaranteed to be closed when the callback exits. Return the value returned by the callback.
abstract Str readAllStr()
Convenience to read file to in-memory string
abstract Uri uri()
Uri identifier with starting with slash such as "/res/icon.svg"