{
/* In proto3 there are optional fields but no has_ flag, do not encode this fields
* when value is default or empty. */
{
/* In proto3 there are optional fields but no has_ flag, do not encode this fields
* when value is default or empty. */
else if ((PB_LTYPE(field->type) == PB_LTYPE_STRING && *(const char*)pData == '\0') ||
(field->data_size == sizeof(uint_least8_t) && *(const uint_least8_t*)pData == 0) ||
(field->data_size == sizeof(uint_least16_t) && *(const uint_least16_t*)pData == 0) ||
(field->data_size == sizeof(uint32_t) && *(const uint_least32_t*)pData == 0) ||
(field->data_size == sizeof(uint64_t) && *(const uint_least64_t*)pData == 0))
else if ((PB_LTYPE(field->type) == PB_LTYPE_STRING && *(const char*)pData == '\0') ||
(field->data_size == sizeof(uint_least8_t) && *(const uint_least8_t*)pData == 0) ||
(field->data_size == sizeof(uint_least16_t) && *(const uint_least16_t*)pData == 0) ||
(field->data_size == sizeof(uint32_t) && *(const uint_least32_t*)pData == 0) ||
(field->data_size == sizeof(uint64_t) && *(const uint_least64_t*)pData == 0))