3 ms·
You could also prefix it with a varint : in this case it would not require any extra byte compared to the NUL terminated string when the length of the string is
by mkcg 5y ago
You could also prefix it with a varint : in this case it would not require any extra byte compared to the NUL terminated string when the length of the string is less than 128 chars.