invoke

abstract operator fun invoke(error: RuntimeException?, result: ByteBuffer?)

Invoke the compression operation callback, with an error or result instance.

Parameters

error

Error, if any; when no error occurred, this will be null.

result

Result buffer, if any; when an error occurred, this will be null.