nn::fs::FileOutputStream Classclass FileOutputStream :
private nn::fs::IOutputStream,
private nn::fs::detail::FileBase,
private ADLFireWall::NonCopyable
Class for writing to files.
For expanded save data, this class cannot be used to create new files. Use the TryCreateFile function, with a size specification.
FileOutputStream
|
Constructor. | |
|---|---|---|
Initialize
|
Opens the specified file. | |
TryInitialize
|
Opens the specified file. | |
Finalize
|
Closes a file. | |
| V |
~FileOutputStream
|
Destructor. |
| V |
Write
|
Writes the specified amount of data from a buffer to a file. |
| V |
TryWrite
|
Writes the specified amount of data from a buffer to a file. |
| V |
Seek
|
Changes the write position in a file. |
| V |
TrySeek
|
Changes the read position of a file. |
| V |
GetPosition
|
Gets the current read position relative to the start of the file. |
| V |
TryGetPosition
|
Gets the current read position relative to the start of the file. |
| V |
SetPosition
|
Sets the current read position relative to the start of the file. |
| V |
TrySetPosition
|
Sets the current read position relative to the start of the file. |
| V |
GetSize
|
Gets the file size. |
| V |
TryGetSize
|
Gets the file size. |
| V |
SetSize
|
Sets the file size. |
| V |
TrySetSize
|
Sets the file size. |
| V |
Flush
|
Writes the file cache back to the device. |
| V |
TryFlush
|
Writes the file cache back to the device. |
nn::fs::IPositionable
nn::fs::IOutputStream
nn::fs::FileOutputStream
CONFIDENTIAL