Type Alias FlateCallback

FlateCallback: ((err: FlateError | null, data: Uint8Array) => void)

Callback for asynchronous (de)compression methods

Type declaration

    • (err, data): void
    • Parameters

      • err: FlateError | null

        Any error that occurred

      • data: Uint8Array

        The resulting data. Only present if err is null

      Returns void