```private val <R> KProperty1<out Bufferi...
# announcements
e
Copy code
private val <R> KProperty1<out Bufferizable, R>.size: Int
        get() = when (returnType) {
            Int::class.defaultType -> Int.BYTES // Ok
            Array<Int>::class.defaultType -> 4 // Dummy, but it doent work
            Array<Any?>::class.defaultType -> 5 // Neither, same with `out`
            else -> throw Error(toString()) // Always throws
        }