nqxpack.registry.AssetManager

nqxpack.registry.AssetManager#

class nqxpack.registry.AssetManager[source]#

Used to store binary blobs or large serialized objects, which may be needed when serializing some custom types.

This is passed in as a parameter to the serialize and deserialize functions.

__init__()#

Methods

__init__()

read_asset(asset_name[, path])

read_msgpack(asset_name[, path])

Reads a dictionary of data serialized with msgpack to the asset manager.

write_asset(asset_name, value[, path])

Write an asset to the backend

write_msgpack(asset_name, value[, path])

Write a dictionary of msgpack-serializable objects to the asset manager.