internal void Parse(Stream input)
{
BinaryReader br = new BinaryReader(input);
BitStream bs = new BitStream(input);
this._HasAddTerms = 0 != bs.GetBits(1) ? true : false;
this._HasMultTerms = 0 != bs.GetBits(1) ? true : false;
this._Nbits = (Byte)bs.GetBits(4);
this._RedMultTerm = (Byte)bs.GetBits(this._Nbits);
this._GreenMultTerm = (Byte)bs.GetBits(this._Nbits);
this._BlueMultTerm = (Byte)bs.GetBits(this._Nbits);
this._RedAddTerm = (Byte)bs.GetBits(this._Nbits);
this._GreenAddTerm = (Byte)bs.GetBits(this._Nbits);
this._BlueAddTerm = (Byte)bs.GetBits(this._Nbits);
}