COMP3 decompression algorithm used in Sierra On-line SCI-engine games.

Based on the implementation in SCI Decoder by Carl Muckenhoupt

import { Comp3 } from '@4bitlabs/codecs';

const encodedBytes = Uint8Array.of(/* encoded data */);
const bytes = Comp3.unpack(encodedBytes);