PackageFile

constructor(path: String, content: () -> ByteArray)

Parameters

path

path of the file relative to the package root, with / separators, e.g. assets/logo.png

content

loader of the file's bytes. Invoking it may perform network access