nn::rdt::CTR::Receiver::Receive Member Functionnn::Result Receive( void * pBuf, size_t * pRecvSize, size_t bufSize );
| Name | Description | |
|---|---|---|
| out | pBuf | Takes the starting address of the buffer where the received data is written. |
| out | pRecvSize | Records the number of bytes that were read from the receive buffer. If no data was readable, this is set to 0. |
| in | bufSize | Takes the size (in bytes) of the buffer where the received data is written. If this is set to 0, the function does nothing and returns a non-error value. |
ResultSuccess, ResultDoNothing, ResultNotInitialized, ResultNullPointer, and ResultUntimelyFunctionCall. Reads the data that has accumulated in the receive buffer.
Nintendo recommends calling this approximately once per game frame to improve throughput.
CONFIDENTIAL