byte[] DecompressHuffman()
{
int nodeCount = Input.Stream.ReadByte();
int terminator = Input.Stream.ReadByte() | 0x100;
int code;
byte[] nodes = new byte[nodeCount << 1];
Input.Stream.Read(nodes, 0, nodes.Length);
while ((code = ReadHuffmanCodeMSB(nodes)) != terminator && (code >= 0) && !IsFinished)
Write((byte)code);
CheckEnd();
return OutputData;
}