Brotli in .NET

BrotliĀ is a compression algorithm like GZip – it tends to have smaller compressed files at the expense of a small amount of extra time. Implementing in .NET is just as easy as with GZip: public class Brotli{ public static void Compress(Stream inputStream, Stream outputStream) { using var gzip = new BrotliStream(outputStream, CompressionMode.Compress); byte[] buffer = […]

Brotli in .NET

Brotli is a compression algorithm that seems to be designed to eventually replace GZip. There are a lot of factors involved, but it seems to compress better than GZip, and is also very fast. Here and here are some links to direct comparisons. Compressing and decompressing in .NET is exactly the same as with GZip, […]