nn::boss::NsData::SetReadDataPosition Member Functionnn::Result SetReadDataPosition( s64 position, PositionBase base );
| Name | Description | |
|---|---|---|
| in | position | Specifies the new read position. |
| in | base | Specifies the base for changing the read position. |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Successfully changed read position. |
ResultInvalidNsDataSeekPosition |
NS data seek position exceeds data size. |
ResultNsDataNotFound |
The specified NS data is not found. It may have been deleted automatically. |
ResultStorageAccessPermission |
You do not have permission to access storage. You cannot access the expanded save region. Confirm that you have access rights. |
ResultIpcNotSessionInitialized |
Either the session had not been initialized or there were incompatible permissions. This Result value is returned if you call this function before Initialize or InitializePrivileged. Always call Initialize or InitializePrivileged first when you use the BOSS library. |
| A value other than the above. | Unexpected error (see boss_Result.h for details). |
Changes the read position in an NS data file. The interface resembles the file access interface. See PositionBase for details on the base for changing the read position.
CONFIDENTIAL