InputStream#
Typedefs
-
typedef sfInt64 (*sfInputStreamReadFunc)(void *data, sfInt64 size, void *userData)#
-
typedef sfInt64 (*sfInputStreamSeekFunc)(sfInt64 position, void *userData)#
-
typedef sfInt64 (*sfInputStreamTellFunc)(void *userData)#
-
typedef sfInt64 (*sfInputStreamGetSizeFunc)(void *userData)#
-
typedef struct sfInputStream sfInputStream#
Set of callbacks that allow users to define custom file streams.
-
struct sfInputStream
- #include <InputStream.h>
Set of callbacks that allow users to define custom file streams.
Public Members
-
sfInputStreamReadFunc read#
Function to read data from the stream.
-
sfInputStreamSeekFunc seek#
Function to set the current read position.
-
sfInputStreamTellFunc tell#
Function to get the current read position.
-
sfInputStreamGetSizeFunc getSize#
Function to get the total number of bytes in the stream.
-
void *userData#
User data that will be passed to the callbacks.
-
sfInputStreamReadFunc read#