I'm working on one (of the many) J2ME ports, and I have some questions
about the implementation of the Java version:
1. CodedInputStream uses an internal byte buffer, instead of
directly using the InputStream. Does this give significant performance
2. Messages implement the method getSerializedSize(). Is this used for
anything other than for serializing the message? Are there any
alternative implementations you considered, that does not depend on
pre-computing the size?
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at