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

Parse() protected method

Parses this object out of a stream
protected Parse ( ) : void
return void
        protected override void Parse()
        {
            BinaryReader br = new BinaryReader(this._dataStream);

            this._textID = br.ReadUInt16();

            BitStream bits = new BitStream(this._dataStream);

            this._useFlashType = (byte)bits.GetBits(2);
            this._gridFit = (byte)bits.GetBits(3);
            bits.GetBits(3); //reserved

            bits.GetBitsFB(32, out this._thickness);
            bits.GetBitsFB(32, out this._sharpness);

            br.ReadByte();// reserved byte
        }