CodeAssetHandler

CodeAssetHandler

Handler for loading code assets.

Constructor

new CodeAssetHandler()

Methods

_create() → {CodeAsset}

Creates a new code asset.

_update()

binaryToString(buffer) → {string}

Converts the binary data of the file linked to a code asset into a utf-8 string.

Parameters:
Name Type Description
buffer ArrayBuffer

an array buffer containing the binary data of the file linked to the code asset.