Function deltachat::tools::buf_decompress
source · pub(crate) fn buf_decompress(buf: &[u8]) -> Result<Vec<u8>>
Expand description
Decompresses buf
to Vec
using brotli
.
See buf_compress()
for why we don’t pass an empty buffer to brotli decompressor.