So, trying to work with compression and decompression, and i need to use the dynamic so i dont need to know the size of my array.
But, there seens to be a bug.
This is the reproduction code:

The console output

As noted, it is not working, the return of the function does not match the docs, as it its always returning a bolean(true, to all 4 compressions tipes, do not tested on a malformed input to see if it returns false)

So, this seens like a simple bug, in the C++ code, that is returning some confirmation of the sucess of the decompression operation, or whatever, instead of the output of the method.
I am doing something wrong or anyone can reproduce? If yes, is this reported? And if no, what to do, i need to report it on github, never did that.?
Thanks for the help.