nn::fs::FileStream::TrySetSize Member Functionvirtual Result TrySetSize( s64 size );
| Name | Description | |
|---|---|---|
| in | size | Specifies the file size. |
Sets the file size.
Error handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.
After the size has been extended with this function, if nothing has been written to that region then in principle the process of reading that region will return nn::fs::ResultVerificationFailed.
CONFIDENTIAL