decompress
Decompress a gzip (or zlib) wrapped DEFLATE buffer and return the inflated bytes.
Parameters
input
the full gzip/zlib stream.
maximumSize
reject output larger than this many bytes (libtorrent's maximum_size). Must be positive.
Throws
with InflateError.INVALID_GZIP_HEADER if neither a valid gzip nor zlib header is present, InflateError.INFLATED_DATA_TOO_LARGE if the cap is hit, or one of the DEFLATE-level errors from Inflate.