public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
 {
     return(stream.BeginWrite(buffer, offset, count, callback, state));
 }