Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JSUMemoryInputStream Class Reference

#include <JSUMemoryStream.h>

+ Inheritance diagram for JSUMemoryInputStream:
+ Collaboration diagram for JSUMemoryInputStream:

Public Member Functions

 JSUMemoryInputStream (const void *res, u32 size)
 
virtual ~JSUMemoryInputStream ()
 
void setBuffer (void const *, s32)
 
u32 readData (void *, s32)
 
s32 seekPos (s32, JSUStreamSeekFrom)
 
s32 getLength () const
 
s32 getPosition () const
 
- Public Member Functions inherited from JSURandomInputStream
 JSURandomInputStream ()
 
virtual ~JSURandomInputStream ()
 
virtual s32 getAvailable () const
 
virtual s32 skip (s32)
 
s32 align (s32)
 
s32 peek (void *, s32)
 
s32 seek (s32, JSUStreamSeekFrom)
 
- Public Member Functions inherited from JSUInputStream
 JSUInputStream ()
 
virtual ~JSUInputStream ()
 
u32 readU32 ()
 
u32 read32b ()
 
s32 readS32 ()
 
s16 readS16 ()
 
u16 readU16 ()
 
u8 readU8 ()
 
u8 read8b ()
 
u16 read16b ()
 
JSUInputStreamoperator>> (u8 &dest)
 
JSUInputStreamoperator>> (s16 &dest)
 
s32 read (void *, s32)
 
- Public Member Functions inherited from JSUIosBase
 JSUIosBase ()
 
virtual ~JSUIosBase ()
 
bool isGood () const
 
void clrState (EIoState state)
 
void setState (EIoState state)
 

Private Attributes

const voidmBuffer
 
s32 mLength
 
s32 mPosition
 

Constructor & Destructor Documentation

◆ JSUMemoryInputStream()

JSUMemoryInputStream::JSUMemoryInputStream ( const void res,
u32  size 
)
inline

◆ ~JSUMemoryInputStream()

virtual JSUMemoryInputStream::~JSUMemoryInputStream ( )
inlinevirtual

Member Function Documentation

◆ getLength()

s32 JSUMemoryInputStream::getLength ( ) const
virtual

Implements JSURandomInputStream.

◆ getPosition()

s32 JSUMemoryInputStream::getPosition ( ) const
virtual

Implements JSURandomInputStream.

◆ readData()

u32 JSUMemoryInputStream::readData ( void pData,
s32  length 
)
virtual

Implements JSURandomInputStream.

◆ seekPos()

s32 JSUMemoryInputStream::seekPos ( s32  pos,
JSUStreamSeekFrom  seekFrom 
)
virtual

Implements JSURandomInputStream.

◆ setBuffer()

void JSUMemoryInputStream::setBuffer ( void const pBuffer,
s32  length 
)

Member Data Documentation

◆ mBuffer

const void* JSUMemoryInputStream::mBuffer
private

◆ mLength

s32 JSUMemoryInputStream::mLength
private

◆ mPosition

s32 JSUMemoryInputStream::mPosition
private

The documentation for this class was generated from the following files: