Query the size of a file within a storage container.
Defined in <SDL3/SDL_storage.h>
storage | a storage container to query |
path | the relative path of the file to query |
length | a pointer to be filled with the file's length |
Returns 0 if the file could be queried, a negative value otherwise; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.