Hello. I want to make SQLite VFS which works using SDL RWops. However, I run into some problems which could be solved by extending RWops with:
truncate— behaves like usual posix
truncate, forcing file to be sepcified lenght. Removes extra bytes if there are any or append file with zeroes.
falseif file is in constant memory/APK/CDrom or other drive which can’t be modifed even as priviliged user,
For exsisting user implementations,
truncate may return error like “Unsupported” and
isMutable always return
What do you think? Thanks.
UPD: another suggestion is
isFixed— can we write past the end (and