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
4
#include "
JSystem/JSupport/JSURandomInputStream.h
"
5
10
class
JSUMemoryInputStream
:
public
JSURandomInputStream
{
11
public
:
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
21
private
:
22
/* 0x08 */
const
void
*
mBuffer
;
23
/* 0x0C */
s32
mLength
;
24
/* 0x10 */
s32
mPosition
;
25
};
// Size = 0x14
26
27
#endif
/* JSUMEMORYSTREAM_H */
JSUStreamSeekFrom
JSUStreamSeekFrom
Definition
JSUInputStream.h:6
JSURandomInputStream.h
cLib_calcTimer
T cLib_calcTimer(T *value)
Definition
c_lib.h:74
JSUMemoryInputStream
Definition
JSUMemoryStream.h:10
JSUMemoryInputStream::getPosition
s32 getPosition() const
Definition
JSUMemoryStream.cpp:64
JSUMemoryInputStream::JSUMemoryInputStream
JSUMemoryInputStream(const void *res, u32 size)
Definition
JSUMemoryStream.h:12
JSUMemoryInputStream::~JSUMemoryInputStream
virtual ~JSUMemoryInputStream()
Definition
JSUMemoryStream.h:14
JSUMemoryInputStream::mLength
s32 mLength
Definition
JSUMemoryStream.h:23
JSUMemoryInputStream::readData
u32 readData(void *, s32)
Definition
JSUMemoryStream.cpp:17
JSUMemoryInputStream::getLength
s32 getLength() const
Definition
JSUMemoryStream.cpp:59
JSUMemoryInputStream::setBuffer
void setBuffer(void const *, s32)
Definition
JSUMemoryStream.cpp:10
JSUMemoryInputStream::seekPos
s32 seekPos(s32, JSUStreamSeekFrom)
Definition
JSUMemoryStream.cpp:32
JSUMemoryInputStream::mBuffer
const void * mBuffer
Definition
JSUMemoryStream.h:22
JSUMemoryInputStream::mPosition
s32 mPosition
Definition
JSUMemoryStream.h:24
JSURandomInputStream
Definition
JSURandomInputStream.h:10
u32
unsigned long u32
Definition
types.h:10
s32
signed long s32
Definition
types.h:6
include
JSystem
JSupport
JSUMemoryStream.h
Generated by
1.9.8