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

Parse() protected method

protected Parse ( ) : void
return void
        protected override void Parse()
        {
            Stream input = this._dataStream;

            BinaryReader br = new BinaryReader( input );

            this._characterID = br.ReadUInt16();
            this._imageData = new byte[(Int32)(input.Length - input.Position)];
            this._imageData = br.ReadBytes(this._imageData.Length);

            String s = String.Format("Reading DefineBitsJPEG2. Character ID: {0:d}, data length {1:d}", this._characterID, this._imageData.Length);
            //Log.Debug(this, s);
        }