getSpaceRemaining method

int getSpaceRemaining()

Queries the remaining space in a storage container.

\param storage a storage container to query. \returns the amount of remaining space, in bytes.

\since This function is available since SDL 3.2.0.

\sa SDL_StorageReady \sa SDL_WriteStorageFile

extern SDL_DECLSPEC Uint64 SDLCALL SDL_GetStorageSpaceRemaining(SDL_Storage *storage)

Implementation

int getSpaceRemaining() => sdlGetStorageSpaceRemaining(this);