docs: def finish(self):
          """
          Finish the decompressor. As the decompressor decompresses eagerly, this
          will never actually emit any data. However, it will potentially throw
          errors if a truncated or damaged data stream has been used.
  
          Note that, once this method is called, the decompressor is no longer
          safe for further use and must be thrown away.
          """
          assert (
              lib.BrotliDecoderHasMoreOutput(self._decoder) == lib.BROTLI_FALSE
          )
          if lib.BrotliDecoderIsFinished(self._decoder) == lib.BROTLI_FALSE:
              raise Error("Decompression error: incomplete compressed stream.")
  
          return b''