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);
}