Recurity.Swf.TagHandler.DefineMorphShape.Parse C# (CSharp) Method

Parse() protected method

protected Parse ( ) : void
return void
        protected override void Parse()
        {
            BinaryReader br = new BinaryReader(this._dataStream);

            this._characterID = br.ReadUInt16();

            this._startBounds.Parse(this._dataStream);
            this._endBounds.Parse(this._dataStream);

            this._offset = br.ReadUInt32();

            Int64 calculatedEndEdgeOffset = this._dataStream.Position + (Int64)this._offset;

            this._morphFillStyles.Parse(this._dataStream, this._tag.TagType);
            this._morphLineStyles.Parse(this._dataStream, this._tag.TagType);

            this._startEdges.Parse(this._dataStream, (Int64)calculatedEndEdgeOffset - this._dataStream.Position, this._tag.TagType);
            this._endEdges.Parse(this._dataStream, (this._dataStream.Length - (Int64)calculatedEndEdgeOffset), this._tag.TagType);
        }