wut  v1.7.0
Wii U Toolchain
Public Member Functions
FileStream Class Reference

#include <FileStream.h>

Inheritance diagram for FileStream:
Inheritance graph
[legend]

Public Member Functions

 FileStream ()
 
 ~FileStream () override
 
nn::Result Read (uint32_t *bytesRead, void *buffer, uint32_t readSize) override
 
nn::Result Write (uint32_t *bytesWritten, void *buffer, uint32_t readSize) override
 
nn::Result GetSize (uint32_t *fileSize) override
 
nn::Result Seek (int32_t offset, nn::sl::SeekOrigin seekOrigin) override
 
nn::Result Initialize (FSClient *client, FSCmdBlock *cmdBlock, char const *path, char const *mode)
 The given client and cmd must be valid during the whole liftime of the filestream. More...
 
details::IStreamInternalGetInternal () override
 
- Public Member Functions inherited from IStreamBase
 IStreamBase ()=default
 
virtual ~IStreamBase ()=default
 

Detailed Description

Definition at line 30 of file FileStream.h.

Constructor & Destructor Documentation

◆ FileStream()

FileStream ( )
inline

Definition at line 32 of file FileStream.h.

◆ ~FileStream()

~FileStream ( )
inlineoverride

Definition at line 36 of file FileStream.h.

Member Function Documentation

◆ Read()

nn::Result Read ( uint32_t *  bytesRead,
void *  buffer,
uint32_t  readSize 
)
inlineoverridevirtual

Implements IStreamBase.

Definition at line 40 of file FileStream.h.

◆ Write()

nn::Result Write ( uint32_t *  bytesWritten,
void *  buffer,
uint32_t  readSize 
)
inlineoverridevirtual

Implements IStreamBase.

Definition at line 44 of file FileStream.h.

◆ GetSize()

nn::Result GetSize ( uint32_t *  fileSize)
inlineoverridevirtual

Implements IStreamBase.

Definition at line 48 of file FileStream.h.

◆ Seek()

nn::Result Seek ( int32_t  offset,
nn::sl::SeekOrigin  seekOrigin 
)
inlineoverridevirtual

Implements IStreamBase.

Definition at line 52 of file FileStream.h.

◆ Initialize()

nn::Result Initialize ( FSClient client,
FSCmdBlock cmdBlock,
char const *  path,
char const *  mode 
)
inline

The given client and cmd must be valid during the whole liftime of the filestream.

Definition at line 60 of file FileStream.h.

◆ GetInternal()

details::IStreamInternal* GetInternal ( )
inlineoverridevirtual

Implements IStreamBase.

Definition at line 64 of file FileStream.h.


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