Engines/FlatRedBallXNA/FlatRedBall/IO/Csv/CsvReader.cs
/// <summary>
/// Skips empty and commented lines.
/// If the end of the buffer is reached, its content be discarded and filled again from the reader.
/// </summary>
/// <param name="pos">
/// The position in the buffer where to start parsing. 
/// Will contains the resulting position after the operation.
/// </param>
/// <returns><see langword="true"/> if the end of the reader has not been reached; otherwise, <see langword="false"/>.</returns>
/// <exception cref="T:System.ComponentModel.ObjectDisposedException">
///	The instance has been disposed of.
/// </exception>
Skips empty and commented lines.
If the end of the buffer is reached, its content be discarded and filled again from the reader.
Skips empty and commented lines . If the end of the buffer is reached its content be discarded and filled again from the reader .
private bool SkipEmptyAndCommentedLines(ref int pos)
		{
			if (pos < _bufferLength)
				DoSkipEmptyAndCommentedLines(ref pos);
			while (pos >= _bufferLength && !_eof)
			{
				if (ReadBuffer())
				{
					pos = 0;
					DoSkipEmptyAndCommentedLines(ref pos);
				}
				else
					return false;
			}
			return !_eof;
		}
private bool SkipEmptyAndCommentedLines ( ref int pos ) { if ( pos < _bufferLength ) DoSkipEmptyAndCommentedLines ( ref pos ) ; while ( pos >= _bufferLength && ! _eof ) { if ( ReadBuffer ( ) ) { pos = 0 ; DoSkipEmptyAndCommentedLines ( ref pos ) ; } else return false ; } return ! _eof ; }
Skips empty and commented lines.
Skips empty and commented lines .
if the end of the reader has not been reached; otherwise, .
if the end of the reader has not been reached ; otherwise .
The instance has been disposed of.
The instance has been disposed of .
int
ref
pos
The position in the buffer where to start parsing.
Will contains the resulting position after the operation.
The position in the buffer where to start parsing . Will contains the resulting position after the operation .