Changed the specification of Decompressor to use an index into the output sequence, rather than a buffer of non-queried output.