Puppet.loadFromMem

Loads a puppet from a mem.

class Puppet
@trusted
void
loadFromMem
(
ubyte[] data
)

Parameters

data ubyte[]

Raw data.

Throws

'Exception' if the file header is not found / damaged, as well as if there is no image data. If you only need to load JSON data, then just use the 'parseJSON' function.

Meta