nn::fs::FileInputStream::SetPosition Member Function
virtual void SetPosition(
s64 position
);
| Name | Description | |
|---|---|---|
| in | position | Specifies the read position. |
Sets the current read position relative to the start of the file.
Because this function does not return processing results, applications cannot use it for error handling. Use TrySetPosition for anything other than a ROM archive.
This function is implemented to show an error screen when errors occur internally, whether or not such errors are fatal. Control does not return from the function in this case. Use nn::fs::FileInputStream::TrySetPosition on everything other than ROM archives.
To read details about error handling, see Handling Errors During File and Directory Operations.
CONFIDENTIAL