Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JSUFileStream.h
Go to the documentation of this file.
1#ifndef JSUFILESTREAM_H
2#define JSUFILESTREAM_H
3
5
6class JKRFile;
7
13public:
15
16 // TODO: fix return values
17 /* 802DC638 */ JSUFileInputStream(JKRFile*);
18 /* 802DC67C */ u32 readData(void*, s32);
19 /* 802DC74C */ s32 seekPos(s32, JSUStreamSeekFrom);
20 /* 802DC82C */ s32 getLength() const;
21 /* 802DC85C */ s32 getPosition() const;
22
23private:
24 /* 0x08 */ JKRFile* mFile;
25 /* 0x0C */ s32 mPosition;
26}; // Size = 0x10
27
28#endif /* JSUFILESTREAM_H */
JSUStreamSeekFrom
Definition JSUInputStream.h:6
Definition JKRFile.h:10
Definition JSUFileStream.h:12
s32 getLength() const
Definition JSUFileStream.cpp:67
JKRFile * mFile
Definition JSUFileStream.h:24
s32 getPosition() const
Definition JSUFileStream.cpp:72
s32 seekPos(s32, JSUStreamSeekFrom)
Definition JSUFileStream.cpp:39
s32 mPosition
Definition JSUFileStream.h:25
virtual ~JSUFileInputStream()
Definition JSUFileStream.h:14
u32 readData(void *, s32)
Definition JSUFileStream.cpp:17
Definition JSURandomInputStream.h:10
unsigned long u32
Definition types.h:10
signed long s32
Definition types.h:6