stream

fun stream(channel: ByteReadChannel)

Reads a stream and saves it into a local file

Parameters

channel

ByteReadChannel that contains the bytes to stream