Decode all of the fields from the given decoder.
This is a simple loop that repeatedly gets the next field number
from decoder.nextFieldNumber() and then uses the number returned
and the type information from the original .proto file to decide
what type of data should be decoded for that field. The corresponding
method on the decoder is then called to get the field value.
This is the core method used by the deserialization machinery. It is
public to enable users to implement their own encoding formats by
conforming to Decoder; it should not be called otherwise.
Note that this is not specific to binary encodng; formats that use
textual identifiers translate those to field numbers and also go
through this to decode messages.
Decode all of the fields from the given decoder.
This is a simple loop that repeatedly gets the next field number
from
decoder.nextFieldNumber()and then uses the number returnedand the type information from the original .proto file to decide
what type of data should be decoded for that field. The corresponding
method on the decoder is then called to get the field value.
This is the core method used by the deserialization machinery. It is
publicto enable users to implement their own encoding formats byconforming to
Decoder; it should not be called otherwise.Note that this is not specific to binary encodng; formats that use
textual identifiers translate those to field numbers and also go
through this to decode messages.