open static fun <K : Any, V : Any> newMapAdapter(keyAdapter: ProtoAdapter<K>, valueAdapter: ProtoAdapter<V>): ProtoAdapter<MutableMap<K, V>>
Creates a new proto adapter for a map using keyAdapter and valueAdapter.
Note: Map entries are not required to be encoded sequentially. Thus, when decoding using the returned adapter, only single-element maps will be returned and it is the caller's responsibility to merge them into the final map.