botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework

Pack BotSense bsProxy message header. More...

Pack BotSense bsProxy message header.

Synopsis:
#include "botsense/BotSense.h"
#include "botsense/libBotSense.h"

int bsPackMsgHdr(BsProxyMsgHdr_T *pMsgHdr, byte_t buf[], size_t bufSize);

Description:

Parameters
[in]pMsgHdrPointer to message header structure.
[out]bufOutput message buffer.
bufSizeSize of output buffer.
Returns
On success, returns the number of bytes packed.

On error, the appropriate < 0 negated BotSense Error Code is returned.