Esempio n. 1
0
        /// <summary>
        /// Parses this object out of a stream
        /// </summary>
        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
        }