tryDecode

expect fun tryDecode(reader: ProtoReader, destination: MutableList<E>)
expect fun tryDecode(reader: ProtoReader32, destination: MutableList<E>)

Reads a value and appends it to destination if this has data available. Otherwise, it will only clear the reader state.

actual fun tryDecode(reader: ProtoReader, destination: MutableList<E>)
actual fun tryDecode(reader: ProtoReader32, destination: MutableList<E>)
actual fun tryDecode(reader: ProtoReader, destination: MutableList<E>)
actual fun tryDecode(reader: ProtoReader32, destination: MutableList<E>)
actual fun tryDecode(reader: ProtoReader, destination: MutableList<E>)
actual fun tryDecode(reader: ProtoReader32, destination: MutableList<E>)