private Advance ( int count, int segmentCount ) : void | ||
count | int | |
segmentCount | int | |
Результат | void |
void Advance(int count, int segmentCount)
{
if (count > segmentCount)
{
throw new ArgumentOutOfRangeException("count");
}
this.position += count;
this.readOffset += count;
if (this.readOffset == segmentCount)
{
++this.readArray;
this.readOffset = 0;
}
}