+4
include/SDL3/SDL_storage.h
+4
include/SDL3/SDL_storage.h
···
264
264
* Synchronously read a file from a storage container into a client-provided
265
265
* buffer.
266
266
*
267
+
* The value of `length` must match the length of the file exactly; call
268
+
* SDL_GetStorageFileSize() to get this value. This behavior may be relaxed in
269
+
* a future release.
270
+
*
267
271
* \param storage a storage container to read from.
268
272
* \param path the relative path of the file to read.
269
273
* \param destination a client-provided buffer to read the file into.