CompressionError with ErrorCode.INVALID_INPUT if the
output sink has not been set.
CompressionErrorwithErrorCode.CLOSEDif called more
than once.
void finish()Signal end-of-input to the decompressor.
After finish has been called, further write calls will fail with ErrorCode.CLOSED.
CompressionError with ErrorCode.INVALID_INPUT if the
output sink has not been set.
CompressionError with ErrorCode.CLOSED if called morethan once.