appendToOutputStream

suspend fun ByteStream.appendToOutputStream(outputStream: OutputStream): Long

Writes this stream to the given OutputStream. This method does not flush or close the given OutputStream.

Parameters

outputStream

The OutputStream to which the contents of this stream will be written