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

Syntax

void Initialize(
     const wchar_t * pathName
);

void Initialize(
     const char * pathName
);

List of Overloaded Member Functions

Initialize ( const wchar_t * ) Opens the specified file.
Initialize ( const char * ) Opens the specified file.

Description of Initialize ( const wchar_t * )

It opens the file at the specified path with read-only access, and enables reading. Do not call this function if this object has already opened a file.

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

Description of Initialize ( const char * )

Opens the file at the specified path, giving it read-only access, and enables loading. 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