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. You cannot call this function if this object already has a file open.

Description of Initialize ( const char * )

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.


CONFIDENTIAL