Skip to content

Assets

1 min read

Import: import system.core;

Assets

Access to files embedded with the program.

public static class Assets

bytes

Copies an embedded asset into a new owned byte array; name must be a string literal.

public static extern fun bytes(name: string): byte[]