public byte[] Decompress(Stream compressed)
 {
     using (var bitStream = new InputBitStream(compressed, leaveOpen: true))
     {
         var unpacker = new SubstringUnpacker(_dictionary);
         _packer.Unpack(bitStream, unpacker);
         return unpacker.UncompressedData();
     }
 }
 public string DecompressDebug(string input)
 {
     var substringUnpacker = new SubstringUnpacker(_dictionary);
     var debugUnpackerOutput = new DebugUnpackerOutput(new StringReader(input), substringUnpacker);
     debugUnpackerOutput.Unpack();
     var uncompressedData = substringUnpacker.UncompressedData();
     return Encoding.UTF8.GetString(uncompressedData);
 }