CMsgHead head = CMsgHead.newBuilder().setMsglen(5)
when server client
CMsgHead head = CMsgHead.parseFrom(buffer );<<-------it it error
com.google.protobuf.InvalidProtocolBufferException: While parsing a
protocol message, the input ended unexpectedly in the middle of a
field. This could mean either than the input has been truncated or
that an embedded message misreported its own length.
i do not why!
is the Field have Max length?? why that when i set lang string it
can not "parseFrom" and error
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.