-
public final class InputStreamKt
-
-
Method Summary
Modifier and Type Method Description final static InputStreamasInputStream(Readable $self, LongRange range, Function1<ReadError, IOException> wrapError)Wraps a Readable into an InputStream. -
-
Method Detail
-
asInputStream
final static InputStream asInputStream(Readable $self, LongRange range, Function1<ReadError, IOException> wrapError)
Wraps a Readable into an InputStream.
Ownership of the Readable is transferred to the returned InputStream.
-
-
-
-