public override int Read(byte[] argb32Array, int offset, int count)
 {
     if (this.writeProxy == null)
     {
         this.writeProxy = new ByteArrayProxyStream();
     }
     this.writeProxy.SetBuffer(argb32Array, offset, count);
     try
     {
         this.CopyToInternal(writeProxy, count);
     }
     finally
     {
         this.writeProxy.ForgetBuffer();
     }
     return(count);
 }
 public override int Read(byte[] argb32Array, int offset, int count)
 {
     if (this.writeProxy == null)
     {
         this.writeProxy = new ByteArrayProxyStream();
     }
     this.writeProxy.SetBuffer(argb32Array, offset, count);
     try
     {
         this.CopyToInternal(writeProxy, count);
     }
     finally
     {
         this.writeProxy.ForgetBuffer();
     }
     return count;
 }