packaging / net.corda.packaging.internal / UncloseableOutputStream

UncloseableOutputStream

class UncloseableOutputStream : FilterOutputStream

OutputStream wrapper that prevents it from being closed, useful to pass an OutputStream instance to a method that closes the stream before it has been finalized by the caller

Constructors

<init>

OutputStream wrapper that prevents it from being closed, useful to pass an OutputStream instance to a method that closes the stream before it has been finalized by the caller

UncloseableOutputStream(destination: OutputStream)

Functions

close

fun close(): Unit