netmsgs/libnetmsgs/nmLibPack.c
int nmUnpackU8(byte_t buf[], size_t bufSize, byte_t *pVal, NMEndian_T eEndian)
{
  static size_t fvalLen = NMFVAL_LEN_U8;      // message field value length

  _NM_CHK_MEM(bufSize, fvalLen);

  *pVal = buf[0];

  return (int)fvalLen;
}
/*!
 * \brief Unpack an unsigned 8-bit byte from the message buffer.
 *
 * \copydoc doc_params_unpack_std
 * \copydoc doc_return_unpack_std
 */
\brief Unpack an unsigned 8-bit byte from the message buffer.
\ brief Unpack an unsigned 8 - bit byte from the message buffer .
int nmUnpackU8(byte_t buf[], size_t bufSize, byte_t *pVal, NMEndian_T eEndian)
{
  static size_t fvalLen = NMFVAL_LEN_U8;      
  _NM_CHK_MEM(bufSize, fvalLen);
  *pVal = buf[0];
  return (int)fvalLen;
}
int nmUnpackU8 ( byte_t buf [ ] , size_t bufSize , byte_t * pVal , NMEndian_T eEndian ) { static size_t fvalLen = NMFVAL_LEN_U8 ; _NM_CHK_MEM ( bufSize , fvalLen ) ; * pVal = buf [ 0 ] ; return ( int ) fvalLen ; }
\brief Unpack an unsigned 8-bit byte from the message buffer.
\ brief Unpack an unsigned 8 - bit byte from the message buffer .
// message field value length