This class allows users to define their own file input sources from which
DSFML can load resources.
*
DSFML resource classes like $(TEXTURE_LINK) and $(SOUNDBUFFER_LINK) provide
loadFromFile and loadFromMemory functions, which read data from
conventional sources. However, if you have data coming from a different source
(over a network, embedded, encrypted, compressed, etc) you can derive your own
class from $(U InputStream) and load DSFML resources with their
loadFromStream function.
*
Usage example:
This class allows users to define their own file input sources from which DSFML can load resources. * DSFML resource classes like $(TEXTURE_LINK) and $(SOUNDBUFFER_LINK) provide loadFromFile and loadFromMemory functions, which read data from conventional sources. However, if you have data coming from a different source (over a network, embedded, encrypted, compressed, etc) you can derive your own class from $(U InputStream) and load DSFML resources with their loadFromStream function. * Usage example: