On Wed, Feb 10, 2010 at 3:57 PM, fokenrute <[email protected]> wrote:

> I just
> need something that takes a buffer (char[] which contains bytes of the
> message) as an input and return the message type.


That's not possible.  Serialized messages do not identify their own type.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to