![]() |
netmsgs
1.2.2
RoadNarrows Robotics Network Messaging Package
|
Unpack a 32-bit float from the message buffer. More...
Unpack a 32-bit float from the message buffer.
#include "rnr/netmsgs.h"
extern int nmUnpackF32(byte_t buf[], size_t bufSize, float *pVal, NMEndian_T eEndian); Description:
The IEEE 754 32-bit format is used with both the big and little endian byte orders.
| [in] | buf | Input message buffer. |
| bufSize | Size of input buffer. | |
| [out] | pVal | Pointer to value to unpack (set). |
| eEndian | Unpacking order. See NMEndian_T. |