nn::hio::CTR::HostFile::Read Member Function#include <nn/hio.h> Result Read( size_t * pRead, void * buf, size_t size ); s32 Read( void * buf, size_t size );
Read(size_t *, void *, size_t)
|
Reads the specified amount of data from a file into a buffer, and returns the result of the operation. |
Read(void *, size_t)
|
Reads the specified amount of data from a file into a buffer, and returns the size of data (in bytes) that were actually read. |
Read(size_t *, void *, size_t)Up to size bytes of data are read from the current file position and copied to the region at the address specified by buf.
The function stores the number of copied bytes in pRead and returns a nn::Result-type process result.
Read(void *, size_t)Up to size bytes of data are read from the current file position and copied to the region at the address specified by buf.
Returns the number of bytes that were copied.
CONFIDENTIAL