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

endMessage

fun endMessage(token: Long): Unit

End a length-delimited nested message. Calls to this method must be symmetric with calls to #beginMessage().

Parameters

token - value returned from the corresponding call to #beginMessage().