Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

请问optional的message怎么判断是否是默认值呢? #65

Open
shuax opened this issue Sep 9, 2015 · 1 comment
Open

请问optional的message怎么判断是否是默认值呢? #65

shuax opened this issue Sep 9, 2015 · 1 comment

Comments

@shuax
Copy link

shuax commented Sep 9, 2015

比如
message a
{
optional b;
}
这个b

@liwanghong
Copy link

用rawget 取值就行了 ,rawget 取不到就表示是默认值。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants