Indeed it is a new thing that was triggered by trying to fix something that wasn't very documented...
public static function inflate(src : haxe.io.Bytes, bufsize : Int ) {
#if cpp
var zl = new haxe.zip.Uncompress( -15);
zl.setFlushMode(haxe.zip.FlushMode.SYNC);
var b = haxe.io.Bytes.alloc(bufsize);
var readpos = 0;
var writepos = 0;
var t = zl.execute(src, readpos, b , writepos);
if (!t.done) throw "you should wait a final fix or prepare a buffer with right size.";
zl.close();
return b;
#elseif flash
var b = haxe.io.Bytes.alloc(bufsize);
b.blit( 0, src, 0, src.length);
var data = b.getData();
data.position = 0;
data.inflate();
data.position = 0;
return b;
#else
//might not allways work
return haxe.zip.Uncompress.run(src, bufsize);
#end
}