mixin

LibFile

@Js
const mixin LibFile

LibFile models on resource file packaged into a xeto library.

methods isPublished

Is this library published with its own URI

read

Read the file's input stream using a callback

readAllStr

Convenience to read file to in-memory string

uri

Uri identifier with starting with slash such as "/res/icon.svg"

isPublished abstract Bool isPublished()

Is this library published with its own URI

read 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.

readAllStr abstract Str readAllStr()

Convenience to read file to in-memory string

uri abstract Uri uri()

Uri identifier with starting with slash such as "/res/icon.svg"

Haxall 4.0.7 ∙ 27-Oct-2026 09:10 EDT