This library exposes brotli (FFI C) encoding via the single-shot channelz_brotli::encode method.
channelz_brotli::encode
That's it!
Refer to the documentation for usage details.