Source code

Revision control

Copy as Markdown

Other Tools

// The zstd-compressed bytes for the string "expected output".
const compressedZstdBytes = new Uint8Array([
0x28, 0xb5, 0x2f, 0xfd, 0x04, 0x58, 0x79, 0x00, 0x00, 0x65, 0x78, 0x70, 0x65,
0x63, 0x74, 0x65, 0x64, 0x20, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5b, 0x11,
0xc6, 0x85,
]);
const trueChunkValue = new TextEncoder().encode('expected output');