nn::hio::CTR::SerialChannel::Read Member Function#include <nn/hio.h> Result Read( size_t * pReadSize, void * buf, size_t size, bit32 attr = ATTRIBUTE_NONE ); s32 Read( void * buf, size_t size, bit32 attr = ATTRIBUTE_NONE );
Read(size_t *, void *, size_t, bit32)
|
Receives data from the host and returns the result of the operation. |
Read(void *, size_t, bit32)
|
Receives data from the host and returns the size of data received. |
Read(size_t *, void *, size_t, bit32)size bytes of data are received to the buffer specified by buf.
The attr parameter specifies how to behave when the received data is fewer bytes than specified by size.
The process returns a nn::Result-type result.
Read(void *, size_t, bit32)size bytes of data are received to the buffer specified by buf.
The attr parameter specifies how to behave when the received data is fewer bytes than specified by size.
Returns the actual number of bytes that were received.
CONFIDENTIAL