anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceExternalCommunicationPort::Read

Read data written by the communication Port.

C++
M32 Read(void * pBuffer, int BufferByteSize, M32 * piDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
void * pBuffer 
[in/out] Pointer to the buffer to fill in 
int BufferByteSize 
[in] Bytes size of the buffer pBuffer 
M32 * piDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

The bytes count filled in pBuffer (can be 0).

Read gets data from the temporary receive buffer. This buffer is filled by the Port. The function call is returns immediately even if the buffer is empty.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!