Skip to content

Commit 49c4a92

Browse files
committed
TECH: fix zstd decompression invocation
1 parent 11220e7 commit 49c4a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dump/src/util/dump/stream/Compression.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ private byte[] unZstd( byte[] source, int sourceLength, byte[] target, byte[] di
293293
if ( dict != null ) {
294294
Zstd.decompressFastDict(target, 0, source, 0, sourceLength, getZDict(dict));
295295
} else {
296-
Zstd.decompress(target, source);
296+
Zstd.decompressByteArray(target, 0, target.length, source, 0, sourceLength );
297297
}
298298
return target;
299299
}

0 commit comments

Comments
 (0)