Import with #import "std/guest_assets".

AssetCount :: () -> u64

Needs a host capability.

AssetName :: (index: u64) -> string

Needs a host capability.

AssetData :: (index: u64) -> string

Needs a host capability.

AssetFind :: (name: string) -> (string, bool)

The bytes of the asset called name, or ok false when there is none.

Needs a host capability.

Source ↗ · All modules