addCollectionCreator

inline fun <C : MutableCollection<Any?>> addCollectionCreator(noinline creator: (size: Int) -> C)

Adds a way to create a specific MutableCollection type when using the built-in collection serializer.