public void Parse(Stream input, BitStream bits, byte firstFive, TagTypes caller, ref UInt16 fillBits, ref UInt16 lineBits, bool first)
{
this._isFirst = first;
this._caller = caller;
this._numFillBits = fillBits;
this._numLineBits = lineBits;
this.GetFlags(firstFive);
switch (caller)
{
case TagTypes.DefineShape2:
this.ParseDefineShape23(input, bits, ref fillBits, ref lineBits, first);
break;
case TagTypes.DefineShape3:
this.ParseDefineShape23(input, bits, ref fillBits, ref lineBits, first);
break;
default:
this.ParseGeneric(input, bits, ref fillBits, ref lineBits, first);
break;
}
}