writeAll

common
abstract fun writeAll(source: Source): Long

Removes all bytes from source and appends them to this sink. Returns the number of bytes read which will be 0 if source is exhausted.

abstract fun writeAll(source: Source): Long