public class ReadersKt
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
toByteArray(kotlinx.coroutines.io.ByteReadChannel $receiver,
int limit,
kotlin.coroutines.experimental.Continuation<? super byte[]> p)
Convert ByteReadChannel to ByteArray
|
static void |
use(kotlinx.coroutines.io.ByteWriteChannel $receiver,
kotlin.jvm.functions.Function1<? super kotlinx.coroutines.io.ByteWriteChannel,kotlin.Unit> block)
Executes block on ByteWriteChannel and close it down correctly whether an exception
|
public static java.lang.Object toByteArray(kotlinx.coroutines.io.ByteReadChannel $receiver,
int limit,
kotlin.coroutines.experimental.Continuation<? super byte[]> p)
Convert ByteReadChannel to ByteArray
public static void use(kotlinx.coroutines.io.ByteWriteChannel $receiver,
kotlin.jvm.functions.Function1<? super kotlinx.coroutines.io.ByteWriteChannel,kotlin.Unit> block)
Executes block on ByteWriteChannel and close it down correctly whether an exception