3 ms·
Knowing nothing about this, I would guess that this is to allow sending binary data that contains embedded null bytes? Though I guess it would be good to have
by tom_mellior 8y ago
Knowing nothing about this, I would guess that this is to allow sending binary data that contains embedded null bytes?
Though I guess it would be good to have nicer wrappers for the common case where you do only send text.
- loeg 8y agoProbably they use length-prefixed strings internally (which is probably a requirement for taking a C web framework seriously), but allow C nul-terminated strings at the API boundary for convenience of use.