public boolean eof() {assert upto + bufferOffset <= endIndex;return upto + bufferOffset == endIndex;}

public bool Eof(){Debug.Assert(upto + BufferOffset <= EndIndex);return upto + BufferOffset == EndIndex;}
