packaging / net.corda.packaging.internal / UncloseableInputStream

UncloseableInputStream

class UncloseableInputStream : FilterInputStream

InputStream wrapper that prevents it from being closed, useful to pass an InputStream instance to a method that closes the stream before it has been fully consumed (and whose remaining content is still needed by the caller)

Constructors

<init>

InputStream wrapper that prevents it from being closed, useful to pass an InputStream instance to a method that closes the stream before it has been fully consumed (and whose remaining content is still needed by the caller)

UncloseableInputStream(source: InputStream)

Functions

close

fun close(): Unit