Re: [protobuf] Storing protocol buffers: binary vs. text

2011-12-11 Thread Daniel Wright
The main concern with text format is that it doesn't have nearly as good backwards- and forwards- compatibility as the binary format. E.g. what happens if you release your program, and then in a future update want to remove or rename a field? The new binary format code would have no trouble readi

Re: [protobuf] Storing protocol buffers: binary vs. text

2011-12-11 Thread Christopher Head
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 If you're worried, just spec your format such that when you write a binary-format file, you shove a magic unprintable signature on the front. Now when you want to load data, try to parse it as binary first (looking for the signature) and, if it do

[protobuf] J2ME

2011-12-11 Thread Peter Edike
Hi, I think i like the idea of this. but can it be used in a J2ME project? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protob