Class EventBasedCodec

Represents an event-based implementation of a third-party codec.

Constructors

Methods

Constructors

Methods

  • The function called when a chunk of data has been compressed/decompressed.

    Parameters

    • Optionaldata: Uint8Array<ArrayBufferLike>

      The chunk of compressed/decompressed data.

    Returns void

  • Appends a chunk of data to compress/decompress

    Parameters

    • data: Uint8Array<ArrayBufferLike>

      The chunk of data to append.

    Returns void