SILC_STR_STRING
NAME
#define SILC_STR_STRING() ...
DESCRIPTION
Encode NULL terminated string. Use this only for formatting.
Formatting: SILC_STR_STRING(char *)
For unformatting use one of the SILC_STR_*_STRING macros, which automatically gets the length of the string from the buffer. Note SILC_STR_STRING does not save the length of the string into the buffer. The caller must do that in order for the unformatting macros to work.
EXAMPLE
Formatting: ..., SILC_STR_UINT32(strlen(string)), SILC_STR_STRING(string), ... Unformatting: ..., SILC_STR_UI32_STRING(&string), ...