Open GoogleCodeExporter opened 9 years ago
Could you clean up the chinese caracters (assuming they are chinese), and add a
description of the problem in english (or french, if you fancy). Otherwise, I'm
afraid I can't help.
Original comment by sorrydevil@gmail.com
on 5 Jan 2010 at 7:06
[deleted comment]
I'm sorry.
I'm weak in English.
Therefore I was supported by web translation.
(By the way, I am a Japanese not a Chinese.)
When getSerializedSize is done by using "repeated",
InvalidProtocolBufferException is
thrown out.
// proto file
message TestMessage {
enum En { GAME_TYPE = 9001; MSG_TYPE = 1001; }
repeated string member = 1;
}
//my test code
var msg:TestMessage = new TestMessage();
msg.member[0] = "hoge1";
msg.member[1] = "hoge2";
msg.member[2] = "hoge3";
msg.getSerializedSize(); //< Throw InvalidProtocolBufferException
It causes because of not corresponding to the case for the above-mentioned
source to
use "repeated".
Source inside
//add Array Type
~
// Add End
is a code that I wrote.
Would it support "repeated"?
Original comment by piggest0...@gmail.com
on 7 Jan 2010 at 4:05
Hi I am also wondering what the status for repeated is. Thanks!
Original comment by eric.bichara@gmail.com
on 31 Aug 2010 at 12:58
Original issue reported on code.google.com by
piggest0...@gmail.com
on 5 Jan 2010 at 5:06