netmsgs  1.2.2
RoadNarrows Robotics Network Messaging Package

Unpack an 8-bit ASCII character from the message buffer. More...

Unpack an 8-bit ASCII character from the message buffer.

Synopsis:
#include "rnr/netmsgs.h"

extern int nmUnpackChar(byte_t buf[], size_t bufSize, char *pVal, NMEndian_T eEndian);

Description:

Parameters
[in]bufInput message buffer.
bufSizeSize of input buffer.
[out]pValPointer to value to unpack (set).
eEndianUnpacking order. See NMEndian_T.
Returns
On success, returns the number of bytes unpacked. On error, the appropriate negated netmsgs error code ( < 0) is returned.