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.
out
- writer to write to.
bufferSize
- size of character buffer to use in process.
Return number of characters copied.
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/java.io.-reader/copy-to.html