nn::fs::FileStream::Seek Member Function
virtual void Seek(
s64 position,
PositionBase base
);
| Name | Description | |
|---|---|---|
| in | position | Specifies the position by which to change the read/write position. |
| in | base | Specifies the base from which to change the read/write position. |
Changes the read/write position in a file.
Sets the read/write position to position, relative to base.
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::FileStream::TrySeek on everything other than ROM archives.
To read details about error handling, see Handling Errors During File and Directory Operations.
CONFIDENTIAL