createMapOptimized

inline fun <K, V> Parcel.createMapOptimized(entryReader: (Parcel) -> Pair<K, V>): Map<K, V>?

Creates and reads a map with key type K and value type V from a Parcel using entryReader.

The map must have been written by Parcel.writeMapOptimized.

Return

null when the map argument of Parcel.writeMapOptimized is null.