Class: RIFFDecoder
Serialization.RIFFDecoder()
InkObject format decoder
Constructor
new RIFFDecoder()
Since:
- version 1.3
Methods
(async) decode(data, fourCCopt) → {RIFFDescriptor|object|undefined}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
data | Uint8Array | RIFF binary | |
fourCC | string|Uint8Array | <optional> | Extracts particular chunk, ignore others |
Returns:
RIFF content or particular chunk specified via fourCC argument.When onChunkDecoded is implemented result is not available.
Type
RIFFDescriptor|object|undefined