nn::fs::FileStream::TryWrite Member Functionvirtual Result TryWrite( s32 * pOut, const void * buffer, size_t size, bool flush = true );
| Name | Description | |
|---|---|---|
| out | pOut | Stores the actual number of bytes that were written. |
| in | buffer | Pointer to the buffer that contains the data to write. |
| in | size | Maximum number of bytes to write to the file. |
| in | flush | Specifies whether to write back to the device. |
Writes the specified amount of data from a buffer to a file.
Up to size bytes of data are written to the file from the region at the address specified by buffer.
When the flush argument is false, you must call TryFlush before destroying an instance.
CONFIDENTIAL