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

#include <JSUMemoryStream.h>

+ Inheritance diagram for JSUMemoryOutputStream:
+ Collaboration diagram for JSUMemoryOutputStream:

Public Member Functions

 JSUMemoryOutputStream ()
 
 JSUMemoryOutputStream (void *buffer, s32 len)
 
void setBuffer (void *buffer, s32 len)
 
virtual ~JSUMemoryOutputStream ()
 
virtual s32 writeData (const void *, s32)
 
virtual s32 getLength () const
 
virtual s32 getPosition () const
 
virtual s32 seek (s32, JSUStreamSeekFrom)
 
virtual s32 getAvailable () const
 
virtual s32 seekPos (s32, JSUStreamSeekFrom)
 
- Public Member Functions inherited from JSURandomOutputStream
 JSURandomOutputStream ()
 
virtual ~JSURandomOutputStream ()
 
virtual s32 skip (s32, s8)
 
- Public Member Functions inherited from JSUOutputStream
 JSUOutputStream ()
 
virtual ~JSUOutputStream ()
 
s32 write (const void *, s32)
 
void write (const char *)
 
JSUOutputStreamoperator<< (u32 param_0)
 
JSUOutputStreamoperator<< (s32 param_0)
 
JSUOutputStreamoperator<< (s16 param_0)
 
JSUOutputStreamoperator<< (u16 param_0)
 
JSUOutputStreamoperator<< (u8 param_0)
 
JSUOutputStreamoperator<< (const char *param_0)
 
- Public Member Functions inherited from JSUIosBase
 JSUIosBase ()
 
virtual ~JSUIosBase ()
 
bool isGood () const
 
void clrState (EIoState state)
 
void setState (EIoState state)
 

Private Attributes

voidmBuffer
 
s32 mLength
 
s32 mPosition
 

Additional Inherited Members

- Public Types inherited from JSUIosBase
enum  EIoState { IOS_STATE_1 = 1 , IOS_STATE_2 = 2 }
 

Constructor & Destructor Documentation

◆ JSUMemoryOutputStream() [1/2]

JSUMemoryOutputStream::JSUMemoryOutputStream ( )
inline

◆ JSUMemoryOutputStream() [2/2]

JSUMemoryOutputStream::JSUMemoryOutputStream ( void buffer,
s32  len 
)
inline

◆ ~JSUMemoryOutputStream()

virtual JSUMemoryOutputStream::~JSUMemoryOutputStream ( )
inlinevirtual

Member Function Documentation

◆ getAvailable()

virtual s32 JSUMemoryOutputStream::getAvailable ( ) const
virtual

Reimplemented from JSURandomOutputStream.

◆ getLength()

s32 JSUMemoryOutputStream::getLength ( ) const
virtual

Implements JSURandomOutputStream.

◆ getPosition()

virtual s32 JSUMemoryOutputStream::getPosition ( ) const
virtual

Implements JSURandomOutputStream.

◆ seek()

virtual s32 JSUMemoryOutputStream::seek ( s32  ,
JSUStreamSeekFrom   
)
virtual

Reimplemented from JSURandomOutputStream.

◆ seekPos()

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

Implements JSURandomOutputStream.

◆ setBuffer()

void JSUMemoryOutputStream::setBuffer ( void buffer,
s32  len 
)

◆ writeData()

s32 JSUMemoryOutputStream::writeData ( const void pData,
s32  length 
)
virtual

Implements JSURandomOutputStream.

Member Data Documentation

◆ mBuffer

void* JSUMemoryOutputStream::mBuffer
private

◆ mLength

s32 JSUMemoryOutputStream::mLength
private

◆ mPosition

s32 JSUMemoryOutputStream::mPosition
private

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