Skip to content

Instantly share code, notes, and snippets.

@Morfly
Created July 15, 2021 17:59
Embed
What would you like to do?
OutputStream write utility function
class FunctionProcessor(...) : SymbolProcessor {
operator fun OutputStream.plusAssign(str: String) {
this.write(str.toByteArray())
}
override fun process(resolver: Resolver): List<KSAnnotated> { ... }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment