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

Parse() protected method

protected Parse ( ) : void
return void
        protected override void Parse()
        {
            BinaryReader br = new BinaryReader(_dataStream);
            this._soundstreamhead = (SoundStreamHead)(this._SourceFileReference.TagHandlers.FindLast(isSoundStreamHead));

            if (_soundstreamhead == null)
            {
                SwfFormatException s = new SwfFormatException("No SoundStreamHead found");
                Log.Warn(this, s.Message);
                //throw s;
            }

            this.TryParseSoundData(this._dataStream);

            String s1 = String.Format("0x{0:X08}: reading soundstreamblock ({1} bytes)",
                this.Tag.OffsetData,
                this._soundData.Length);
            Log.Debug(this, s1);

            if (this.Head != null)
            {
                String s2 = String.Format("0x{0:X08}\tHead: Playback: {1} {2} {3}",
                    this.Head.Tag.OffsetData,
                    this.Head.PlaybackRate,
                    this.Head.PlaybackSize,
                    this.Head.PlaybackType);

                 Log.Debug(this, s2);

                String s3 = String.Format("0x{0:X08}\tHead: Stream: {1} {2} {3} {4}",
                    this.Head.Tag.OffsetData,
                    this.Head.StreamCompression,
                    this.Head.StreamRate,
                    this.Head.StreamSize,
                    this.Head.StreamType);
                 Log.Debug(this, s3);
            }
        }