copyAndClose |
suspend fun ByteReadChannel.copyAndClose(dst: OutputStream): Unit suspend fun ByteReadChannel.copyAndClose(dst: Output): Unit suspend fun ByteReadChannel.copyAndClose(dst: ByteWriteChannel): Unit suspend fun ByteReadChannel.copyAndClose(dst: ByteWriteChannel): Unit |
copyTo |
suspend fun ByteReadChannel.copyTo(dst: OutputStream): Unit suspend fun ByteReadChannel.copyTo(dst: Output): Unit suspend fun ByteReadChannel.copyTo(dst: ByteWriteChannel): Unit |
toExternalImage |
保存为临时文件然后调用 File.toExternalImage. suspend fun ByteReadChannel.toExternalImage(): ExternalImage |