/// <inheritdoc /> public override Task WriteAsync([NotNull] char[] buffer, int index, int count) { if (index < 0) { throw new ArgumentOutOfRangeException(nameof(index)); } if (count < 0 || (buffer.Length - index < count)) { throw new ArgumentOutOfRangeException(nameof(count)); } return(TargetWriter.WriteAsync(buffer, index, count)); }
/// <inheritdoc /> public override Task WriteAsync(string value) { return(TargetWriter.WriteAsync(value)); }