OT: Is there any API out there that implements say a length* prefix in all C strings?
* 2 or 4 octets size
* 2 or 4 octets size
1. https://developer.gnome.org/glib/stable/glib-Strings.html#GS...
One of the answers states that GCC and Clang do have support for Pascal strings.
Probably these strings do not work as (well) in #defines, i.e. they don't concat like regular literals.
https://github.com/pjsip/pjproject https://www.pjsip.org/pjlib/docs/html/structpj__str__t.htm