openOrNull

fun openOrNull(bytes: ByteArray, settings: EpubSettings = EpubSettings()): EpubDocument?(source)

open, but null instead of EpubFormatException on a malformed book.


fun openOrNull(source: KiteByteSource, settings: EpubSettings = EpubSettings()): EpubDocument?(source)

open from a KiteByteSource, but null instead of EpubFormatException on a malformed book.