Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JSUMemoryStream.h
Go to the documentation of this file.
1#ifndef JSUMEMORYSTREAM_H
2#define JSUMEMORYSTREAM_H
3
5
11public:
12 JSUMemoryInputStream(const void* res, u32 size) { setBuffer(res, size); }
13
14 /* 802552B8 */ virtual ~JSUMemoryInputStream() {}
15 /* 802DC520 */ void setBuffer(void const*, s32);
16 /* 802DC534 */ u32 readData(void*, s32);
17 /* 802DC5AC */ s32 seekPos(s32, JSUStreamSeekFrom);
18 /* 802DC628 */ s32 getLength() const;
19 /* 802DC630 */ s32 getPosition() const;
20
21private:
22 /* 0x08 */ const void* mBuffer;
23 /* 0x0C */ s32 mLength;
24 /* 0x10 */ s32 mPosition;
25}; // Size = 0x14
26
27#endif /* JSUMEMORYSTREAM_H */
JSUStreamSeekFrom
Definition JSUInputStream.h:6
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JSUMemoryStream.h:10
s32 getPosition() const
Definition JSUMemoryStream.cpp:64
JSUMemoryInputStream(const void *res, u32 size)
Definition JSUMemoryStream.h:12
virtual ~JSUMemoryInputStream()
Definition JSUMemoryStream.h:14
s32 mLength
Definition JSUMemoryStream.h:23
u32 readData(void *, s32)
Definition JSUMemoryStream.cpp:17
s32 getLength() const
Definition JSUMemoryStream.cpp:59
void setBuffer(void const *, s32)
Definition JSUMemoryStream.cpp:10
s32 seekPos(s32, JSUStreamSeekFrom)
Definition JSUMemoryStream.cpp:32
const void * mBuffer
Definition JSUMemoryStream.h:22
s32 mPosition
Definition JSUMemoryStream.h:24
Definition JSURandomInputStream.h:10
unsigned long u32
Definition types.h:10
signed long s32
Definition types.h:6