decompression-correct-input.js (354B)
1 // The zstd-compressed bytes for the string "expected output". 2 const compressedZstdBytes = new Uint8Array([ 3 0x28, 0xb5, 0x2f, 0xfd, 0x04, 0x58, 0x79, 0x00, 0x00, 0x65, 0x78, 0x70, 0x65, 4 0x63, 0x74, 0x65, 0x64, 0x20, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5b, 0x11, 5 0xc6, 0x85, 6 ]); 7 const trueChunkValue = new TextEncoder().encode('expected output');