kotlin.io.java.io.Reader.copyTo
copyTo
fun Reader.copyTo( out: Writer, bufferSize: Int = DEFAULT_BUFFER_SIZE ): Long
Platform and version requirements: JVM
Copies this reader to the given out writer, returning the number of characters copied.
Note it is the caller's responsibility to close both of these resources.
Parameters
out
- writer to write to.
bufferSize登录查看完整内容