Recurity.Swf.StyleChangeRecord.ParseGeneric C# (CSharp) Method

ParseGeneric() private method

private ParseGeneric ( Stream input, BitStream bits, UInt16 &fillBits, UInt16 &lineBits, bool first ) : void
input Stream
bits BitStream
fillBits System.UInt16
lineBits System.UInt16
first bool
return void
        private void ParseGeneric(Stream input, BitStream bits, ref UInt16 fillBits, ref UInt16 lineBits, bool first)
        {
            if (this._stateMoveTo)
            {
                this._moveBits = (byte)bits.GetBits(5);
                this._moveDeltaX = (Int32)bits.GetBitsSigned((UInt32)this._moveBits);
                this._moveDeltaY = (Int32)bits.GetBitsSigned((UInt32)this._moveBits);
            }
            if (this._stateFillStyle0)
            {
                this._fillStyle0 = bits.GetBits((UInt32)fillBits);
            }
            if (this._stateFillStyle1)
            {
                this._fillStyle1 = bits.GetBits((UInt32)fillBits);
            }
            if (this._stateLineStyle)
            {
                this._lineStyle = bits.GetBits((UInt32)lineBits);
            }
        }