On Sat, Sep 5, 2015 at 9:36 PM, TheAceInfinity <aceofs...@gmail.com> wrote:
> If I know that the bytes are a type of varint from a byte stream, is there
> then no way to determine whether the 150 should be calculated and
> interpreted as an int32 or an sint32?

Nope, no information beyond the wire type. Also no way to tell the
difference between, say, a string or a submessage, since those are
both just length-delimited fields.

> That's my question. What exactly is the TAG ID for?

To tell which field is which.

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to