void ReadStream(int readStart, int readCount, long readOffset)
{
while (readCount > 0 && readOffset < _wrapper.EofOffset)
{
var temp = _wrapper.Source.Read(_data, readStart, readCount);
if (temp == 0)
{
break;
}
readStart += temp;
readOffset += temp;
readCount -= temp;
}
if (readStart > _end)
{
_end = readStart;
}
}