wire-runtime / com.squareup.wire / ProtoReader / nextTag

nextTag

fun nextTag(): Int

Reads and returns the next tag of the message, or -1 if there are no further tags. Use after calling this method to query its encoding. This silently skips groups.