AssetSys: Mount from Memory
RobLoach opened this issue · 2 comments
RobLoach commented
Would be awesome to have a assetsys_mount_memory()
or similar to mount from an already loaded file data.
assetsys_mount_memory(assetsys_t* sys, void* file_data, uint file_size, char const* mount_as);
Would this be out of scope for assetsys?
RandyGaul commented
Since it’s using minizip mounting a zip file from memory could be fairly easy. But for folders it would be significantly more work
mattiasgustavsson commented
If someone made a PR for it, I wouldn’t mind adding it (assuming it’s done in a way consistent with the library overall), but it’s not something I’d have the time to do myself