nn::fs::FileInputStream::Initialize Member Function

Syntax

void Initialize(
     const char * pathName
);

Arguments

Name Description
in pathName The file path to open (ASCII characters only)

Return Values

None.

Description

Opens the specified file.

It opens the file at the specified path with read-only access, and enables reading. You cannot call this function if this object already has a file open.
Note: This function uses a large amount of buffer space on the stack because it converts the path name from a multibyte character string into a wide character string. Pay careful attention to the stack size.

This function does not return processing results and it is therefore impossible to handle errors. In general, use TryInitialize.


CONFIDENTIAL