Paolo Borelli 2a46af4278 proto3: make strings default to "" instead of NULL
The spec talks about "empty string" and other languages like C#
return a zero length string and not null.
This is useful because when moving from proto2's "required string"
to a proto3's plain string we will be guaranteed that we
never get a null pointer.
The tradeoff is adding a special case to the library but avoiding
a lot of null checks in the calling code.
The current code is already special casing "" in pack_string.
2017-06-12 09:32:39 +02:00
..
2016-10-30 10:06:52 +01:00
2016-10-30 10:06:52 +01:00
2015-10-30 15:54:00 -07:00
2016-10-30 10:06:52 +01:00
2016-10-30 10:06:52 +01:00
2015-10-30 15:54:00 -07:00
2016-02-17 10:58:43 +01:00