Ext.Net.ResourceHandler.WriteImage C# (CSharp) Method

WriteImage() private method

private WriteImage ( string responseType ) : void
responseType string
return void
        private void WriteImage(string responseType)
        {
            this.output = this.GetCache();

            if (this.output == null)
            {
                this.length = Convert.ToInt32(this.stream.Length);
                this.output = new Byte[this.length];
                this.stream.Read(this.output, 0, this.length);

                this.SetCache(this.output);
            }

            this.Send(this.output, responseType);
        }