nn::fs::FileStream::Write Member Function
virtual s32 Write(
const void * buffer,
size_t size
);
| Name | Description | |
|---|---|---|
| in | buffer | Pointer to the buffer that contains the data to write. |
| in | size | Maximum number of bytes to write to the file. |
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. Returns the actual number of bytes that were written.
Returns 0 if it reached the end of the file.
CONFIDENTIAL