https://kotlinlang.org logo
#announcements
Title
# announcements
e

elect

09/23/2017, 6:02 PM
If I have a generic method
run()
how can I use the generic type parameter for the
reified
method
data()
?
Copy code
fun <T : Any>run(format: Format, testSamples: Array<T>) {
     textureA.data<T>(0, 0, 1)[i] = test
}