CharIteratorHelper Class

Helpers for the ICharIterator class.

public static class CharIteratorHelper

Methods

NameDescription
TrimStartAndCountNewLines<T>(T, int)Performs the trim start and count new lines t operation.
TrimStartAndCountNewLines<T>(T, int, NewLine)Performs the trim start and count new lines t operation.

TrimStartAndCountNewLines overloads

TrimStartAndCountNewLines<T>(T, int)

CharIteratorHelper.cs

Performs the trim start and count new lines t operation.

public static bool TrimStartAndCountNewLines<T>(ref T iterator, out int countNewLines) where T : ICharIterator
Type parameters
T
Parameters
iterator T
countNewLines int
Returns

bool

TrimStartAndCountNewLines<T>(T, int, NewLine)

CharIteratorHelper.cs

Performs the trim start and count new lines t operation.

public static bool TrimStartAndCountNewLines<T>(ref T iterator, out int countNewLines, out NewLine lastLine) where T : ICharIterator
Type parameters
T
Parameters
iterator T
countNewLines int
lastLine NewLine
Returns

bool