public static class IntCoAcceptor.DefaultImpls
An acceptor that takes an integer value. Includes default functions to cater for the common cases of strings or byte arrays being used for integer values.
@Nullable public static java.lang.Object accept(IntCoAcceptor<? extends R> $this, @NotNull java.lang.CharSequence charSequence, @NotNull kotlin.coroutines.Continuation<? super kotlin.Unit> p)
Accept a CharSequence (e.g. String) as a sequence of integer values.
$this - the CharSequencecharSequence - the CharSequence@Nullable public static java.lang.Object accept(IntCoAcceptor<? extends R> $this, @NotNull kotlin.Array[] bytes, int offset, int length, @NotNull kotlin.coroutines.Continuation<? super kotlin.Unit> p)
Accept a ByteArray as a sequence of integer values.
public static void flush(IntCoAcceptor<? extends R> $this)
Flush the acceptor (required by some implementations - default is a no-operation).