+ wimlib_assert(usize > 0);
+ wimlib_assert(usize <= ctx->base.out_chunk_size);
+
+ ctx->usize = usize;
+ csize = wimlib_compress(ctx->udata, usize, ctx->cdata, usize - 1,
+ ctx->compressor);
+ if (csize) {
+ ctx->result_data = ctx->cdata;
+ ctx->result_size = csize;
+ } else {
+ ctx->result_data = ctx->udata;
+ ctx->result_size = ctx->usize;
+ }