nn::fs::FileInputStream::TrySeek Member Function

Syntax

virtual Result TrySeek(
     s64 position,
     PositionBase base
);

Arguments

Name Description
in position Specifies the new read position.
in base Specifies the base from which to change the read position.

Return Values

Returns the result of the operation.

Description

Changes the read position of a file.

Sets the read position to position, relative to base.

Error handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.

Revision History

2010/12/22
Added a link to the error handling page.
2010/06/14
Initial version.

CONFIDENTIAL