Huffman decompression algorithm used in Sierra On-line SCI-engine games.
The compressed bytes.
Decompressed payload.
import { Huffman } from '@4bitlabs/codecs';const encodedBytes = Uint8Array.of(/* encoded data */);const bytes = Huffman.unpack(encodedBytes); Copy
import { Huffman } from '@4bitlabs/codecs';const encodedBytes = Uint8Array.of(/* encoded data */);const bytes = Huffman.unpack(encodedBytes);
Huffman decompression algorithm used in Sierra On-line SCI-engine games.