Allocate compressed buffer like woff2_compress