nn::fs::FileInputStream::FileInputStream Constructor

Syntax

FileInputStream();

FileInputStream(
     const wchar_t * pathName
);

FileInputStream(
     const char * pathName
);

List of Overloaded Member Functions

FileInputStream ( ) Constructor.
FileInputStream ( const wchar_t * ) A constructor that constructs an object and opens the specified file.
FileInputStream ( const char * ) A constructor that constructs an object and opens the specified file.

Description of FileInputStream ( )

In the overloaded version without arguments, no file will be opened. You must call the TryInitialize function separately to manipulate files.

In the overloaded version with the path name specified, it opens the file at the specified path with read-only access and enables reading.

Description of FileInputStream ( const wchar_t * )

It opens the file at the specified path with read-only access and enables reading.

Description of FileInputStream ( const char * )

It opens the file at the specified path with read-only access and enables reading.


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