ZipReader
Open bytes with default resource ceilings.
constructor(bytes: ByteArray, strictCrc: Boolean = false, maxEntryBytes: Int = DEFAULT_MAX_ENTRY_BYTES, maxEntries: Int = DEFAULT_MAX_ENTRIES)(source)
Open bytes with explicit decompressed-entry and record-count ceilings.
constructor(source: KiteByteSource, strictCrc: Boolean = false, maxEntryBytes: Int = DEFAULT_MAX_ENTRY_BYTES, maxEntries: Int = DEFAULT_MAX_ENTRIES)(source)
Open the archive in source, reading entries from it as they are asked for. The caller keeps source open while this reader lives. A failed read of the source makes the entry unreadable, or the archive empty when it hits the central directory, as a damaged archive would.