Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为默认值的成员不需要编码 #16

Open
1774575836 opened this issue Oct 31, 2019 · 0 comments
Open

为默认值的成员不需要编码 #16

1774575836 opened this issue Oct 31, 2019 · 0 comments

Comments

@1774575836
Copy link

比如
message account{
string name = 1;
}

var a = {name:""}
编码不应该是 0x18,0x00,应该为空。

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

No branches or pull requests

1 participant