Just using this class to compress some data. All fairly straightforward, but why are the parameters on set_out_buf exporting rather than importing?
Looking at the code inside, it looks like it sets the reference to the buffer, rather than getting it.