Pure OCaml implementation of the Brotli compression algorithm