public override int Read(byte[] buffer, int offset, int count)
{
if (_memStream.Position + count > _memStream.Length && _blocksIndex < _dataBlocks.Length)
{
if (!ProcessNextBlock())
return 0;
return Read(buffer, offset, count);
}
else
{
return _memStream.Read(buffer, offset, count);
}
}