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

    • Optional data: Uint8Array

      The chunk of compressed/decompressed data.

    Returns void

  • Appends a chunk of data to compress/decompress

    Parameters

    • data: Uint8Array

      The chunk of data to append.

    Returns void