nn::hio::CTR::HostFile Classclass HostFile
Class that represents files in the host file system. It provides the ability to read from and write to files.
SeekType
|
Group of constants indicating starting points for file seek operations. | |
|---|---|---|
AccessMode
|
Group of constants indicating file access modes. | |
OpenDisp
|
Group of constants indicating the behavior to use when a file is opened. |
HostFile
|
Constructor. You must make a separate call to Open to open the file you will be working with. |
|
|---|---|---|
~HostFile
|
Destructor. Closes a file if it is open. | |
Open
|
Opens the specified file. | |
Close
|
Closes a file. | |
Read
|
Reads the specified amount of data from a file into a buffer, and returns the result of the operation. | |
Write
|
Writes the specified amount of data from the buffer to a file, and returns the result of the operation. | |
Seek
|
Changes the starting position for read/writes, and returns the result of the process. | |
SetSize
|
Changes the size of a file. | |
| Exists | Checks whether file exists, and returns the result of the process. |
CONFIDENTIAL