Bool type conversion error in encode method #641
Unanswered
tongxuerui
asked this question in
Q&A
Replies: 1 comment
-
Hi @tongxuerui , sorry, but I don't know what the error is just from the snippet you included. It looks like we were missing a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
required bool dynamic_screen_size = 5 [default = true];
encode
if (message.dynamicScreenSize === true) {
writer.uint32(40).bool(message.dynamicScreenSize);
}
Beta Was this translation helpful? Give feedback.
All reactions