0 Members and 1 Guest are viewing this topic.
Here you go mate, I think this will work.https://legacy.sfmluploads.org/code/86
Could you please provide a complete and minimal source code that reproduces the problem, so that I can test and debug it?
No, since i do not know how to do it
You don't know how to reduce your code? It looks simple: provide your InputStream class, and a main that uses it to load a resource. Replace your Data::File class with a std::vector<char>, for example.
I didn't know how to write the functions properly, however i made it work just now. Apparently one of my functions was broken, stupid mistake
Was it a mistake in my::Data::Stream (in this case I'd like to see the fix) or somewhere else in your code?