toPrimitive

open override fun toPrimitive(complex: Inventory, context: PersistentDataAdapterContext): ByteArray(source)