Open saket opened 4 months ago
Should okio offer an BufferedSink -> Appendable adapter for use with kotlinpoet and other libraries that do not accept output streams?
BufferedSink
Appendable
kotlinpoet
fileSystem.write(path) { // Along the lines of BufferedSink#outputStream(). fileSpec.writeTo(this.appendable()) }
It would probably have to be utf8Appendable(), or on the JVM we could also do appendable(Charset).
utf8Appendable()
appendable(Charset)
Should okio offer an
BufferedSink
->Appendable
adapter for use withkotlinpoet
and other libraries that do not accept output streams?