nn::fs::FileInputStream::FileInputStream Constructor
FileInputStream();
FileInputStream(
const wchar_t * pathName
);
FileInputStream(
const char * pathName
);
| FileInputStream ( ) | Constructor. |
| FileInputStream ( const wchar_t * ) | A constructor that opens the specified file. |
| FileInputStream ( const char * ) | A constructor that opens the specified file. |
In the overloaded version without arguments, no file will be opened. Initialize must be called separately to perform file operations.
In the overloaded version with the path name specified, it opens the file at the specified path with read-only access, and enables reading.
It opens the file at the specified path with read-only access, and enables reading.
This function does not return processing results and it is therefore impossible to handle errors. In general, use TryInitialize.
The file at the specified path is opened read-only and made readable.
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