Resource can be used to access resources that were added through the -resource file@name command line parameter.
Depending on their type they can be obtained as String through getString(name), or as binary data through getBytes(name).
A list of all available resource names can be obtained from listNames().
Retrieves the resource identified by name
as an instance of
haxe.io.Bytes.
If name
does not match any resource name, null is returned.
Retrieves the resource identified by name
as a String.
If name
does not match any resource name, null is returned.