Skip to main content

Class: RIFFDecoder

Serialization.RIFFDecoder()

InkObject format decoder

Constructor

new RIFFDecoder()

Since:

  • version 1.3

Methods

(async) decode(data, fourCCopt) → {RIFFDescriptor|object|undefined}

Parameters:
NameTypeAttributesDescription
dataUint8ArrayRIFF binary
fourCCstring|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

Home