/// <inheritdoc /> public override void WriteLine() { var Length = CoreNewLine.Length; EnsureMinimum(Length); CoreNewLine.AsSpan().CopyTo(_PendingBuffer.Span.Slice(_PendingChars)); _PendingChars += Length; }
/// <inheritdoc /> public override void WriteLine(char value) { var Length = CoreNewLine.Length + 1; EnsureMinimum(Length); _PendingBuffer.Span[_PendingChars] = value; CoreNewLine.AsSpan().CopyTo(_PendingBuffer.Span.Slice(_PendingChars + 1)); _PendingChars += Length; }