SEGGER_SYSVIEW_EncodeString() function
SEGGER_SYSVIEW_EncodeString() Function description Encode a string in variable-length format. Parameters pPayload - Pointer to where string will be encoded. s - String to encode. MaxLen - 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 + MaxLen bytes will be encoded to the payload.