std/brotli

Brotli (RFC 7932), as browsers and servers send it, through Google's libbrotli (libbrotlienc and libbrotlidec in pkg-config).

Function Result
brotli_compress(data, quality) data at quality 0 (fastest) to 11 (smallest, the default)
brotli_decompress(data, limit) what it decompresses to, or an ERROR of kind "invalid_data", as std/compress gives