benfleis
11/01/2017, 4:35 PMinterface ByteArrayTransformer {
fun transform(input: ByteArray): ByteArray
}
Doing so enabled things like wrapping transformers with timers, logging, etc. by extension functions.
Does Kotlin have the means to declare a typed function signature, so that I could drop the reliance on classes, and fully open the door to closures, without having to declare the same func signature all over the place?