public override void Write(byte[] buffer, int offset, int count) { token.ThrowIfCancellationRequested(); try { ParentStream.Write(buffer, offset, count); } catch (Exception e) { if (exceptionMapper != null) { exceptionMapper(e); } throw e; } WriteCallback(count); }
public override void Write(byte[] buffer, int offset, int count) { token.ThrowIfCancellationRequested(); ParentStream.Write(buffer, offset, count); WriteCallback(count); }
public override void Write(byte[] buffer, int offset, int count) { ParentStream.Write(buffer, offset, count); }