ly.img.android.pesdk.backend.exif / IOUtils / closeQuietly

closeQuietly

open static fun closeQuietly(input: InputStream!): Unit

Unconditionally close an InputStream.

Equivalent to InputStream#close(), except any exceptions will be ignored. This is typically used in finally blocks.

Parameters

input - InputStream!: the InputStream to close, may be null or already closed

open static fun closeQuietly(output: OutputStream!): Unit

Unconditionally close an OutputStream.

Equivalent to OutputStream#close(), except any exceptions will be ignored. This is typically used in finally blocks.

Parameters

output - OutputStream!: the OutputStream to close, may be null or already closed