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

Write() public method

Writes a tag back to a stream.
public Write ( Stream output ) : void
output Stream The stream to write to.
return void
        public override void Write( Stream output )
        {
            this.WriteTagHeader( output );

            BinaryWriter bw = new BinaryWriter(output);
            bw.Write(this._characterID );

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

            output.Write(this._imageData, 0, this._imageData.Length);
        }