We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2f5fe commit d7610aeCopy full SHA for d7610ae
scripts/JSRoot.io.js
@@ -224,10 +224,12 @@ JSROOT.define(['rawinflate'], () => {
224
return new Promise((resolveFunc, rejectFunc) => {
225
226
ZstdCodec.run(zstd => {
227
- const simple = new zstd.Simple();
228
- // streaming = new zstd.Streaming();
+ // const simple = new zstd.Simple();
+ const streaming = new zstd.Streaming();
229
+
230
+ // const data2 = simple.decompress(uint8arr);
231
+ const data2 = streaming.decompress(uint8arr);
232
- const data2 = simple.decompress(uint8arr);
233
// console.log(`tgtsize ${tgtsize} zstd size ${data2.length} offset ${data2.byteOffset} rawlen ${data2.buffer.byteLength}`);
234
235
const reslen = data2.length;
0 commit comments