Command line Brotli compressor and decompressor
dotnet tool install -g brot
Compress a string into bytes and encode it into a base64 string:
brot foo outputs CwGAZm9vAw==
Convert a base64 string into bytes and decompress it back to the original string:
brot CwGAZm9vAw== outputs foo