Am 23.11.2010 14:16, schrieb Scott Crosby:
The tag+decoding bits has value 0x82. This value is then VarInt encoded before the field contents. Since 0x82 is bigger than can be expressed in one byte in VarInt, it is encoded as 0x82 0x01.
I was not aware that the key is a varint, although it is clearly written in the documentation:
Each key in the streamed message is a varint with the value (field_number << 3) | wire_type – in other words, the last three bits of the number store the wire type. http://code.google.com/intl/de/apis/protocolbuffers/docs/encoding.html
Thanks for the help. Rainer _______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
