Hi! :)
Can someone explain me the difference between sceIoLseek32 and sceIoLseek?
What does it mean to seek in 32 bit mode?
Are there performance differences between the two functions?
When should I use one instead of the other?
Many thanks.
Ciaooo
Sakya
Difference between sceIoLseek32 and sceIoLseek
32 bit seeking only allows for +/- 2GB seeking. With sticks out that are greater than 4GB, it's quite likely 32 bit seeking won't hack it for some things (videos, databases, etc). That's when you go to 64 bit seeking. However, for most apps, +/- 2GB is WAAAAAAAY more than they need, so 32 bit seeking is fine. For example, music players, or loading art for a game.
And that's the difference: sceIoLseek32() takes an int as the offset, where sceIoLseek() takes an sceOff, which is a 64 bit int.
And that's the difference: sceIoLseek32() takes an int as the offset, where sceIoLseek() takes an sceOff, which is a 64 bit int.