_EncodeStr() function
_EncodeStr() Function description Encode a string in variable-length format. Parameters pPayload - Pointer to where string will be encoded. pText - String to encode. Limit - Maximum number of characters to encode from string. Return value Pointer to the byte following the value, i.e. the first free byte in the payload and the next position to store payload content. Additional information The string is encoded as a count byte followed by the contents of the string. No more than 1 + Limit bytes will be encoded to the payload.
![]()
pPayload = _EncodeStr(pPayload, pInfo->sName, 32);
_EncodeStr() is called by 12 functions:
![]()
_EncodeStr()
_EncodeStr():
![]()
_EncodeStr()