Kio Arch
KioArch is a Kotlin Multiplatform library for on-demand archive inspection and extraction without intermediate disk writes. Backed by native C decompression engines (7-Zip Core, miniz, and libbzip2), it streams decompressed chunks directly from a random-access com.sorrowblue.kioarch.SeekableSource into a kotlinx.io.Sink while keeping heap allocations constant regardless of archive size.
Supported Archive Formats
KioArch identifies formats by inspecting magic bytes at the start of the stream rather than relying on file extensions:
7z (
.7z): LZMA, LZMA2, and PPMd with BCJ, BCJ2, ARM, ARM64, IA64, and Delta filtersZIP (
.zip,.apk,.jar,.aar,.epub): Deflate and Store, with automatic UTF-8 and Shift_JIS (CP932) filename decodingTAR + Gzip (
.tar.gz,.tgz): Streaming Gzip (Deflate) decompression over POSIXustarTar archivesBzip2 / TAR + Bzip2 (
.bz2,.tar.bz2,.tbz2,.tbz): Streaming Bzip2 decompression
KioArch is a Kotlin Multiplatform library for on-demand archive inspection and extraction without intermediate disk writes. Backed by native C decompression engines (7-Zip Core, miniz, and libbzip2), it streams decompressed chunks directly from a random-access com.sorrowblue.kioarch.SeekableSource into a kotlinx.io.Sink while keeping heap allocations constant regardless of archive size.
Supported Archive Formats
KioArch identifies formats by inspecting magic bytes at the start of the stream rather than relying on file extensions:
7z (
.7z): LZMA, LZMA2, and PPMd with BCJ, BCJ2, ARM, ARM64, IA64, and Delta filtersZIP (
.zip,.apk,.jar,.aar,.epub): Deflate and Store, with automatic UTF-8 and Shift_JIS (CP932) filename decodingTAR + Gzip (
.tar.gz,.tgz): Streaming Gzip (Deflate) decompression over POSIXustarTar archivesBzip2 / TAR + Bzip2 (
.bz2,.tar.bz2,.tbz2,.tbz): Streaming Bzip2 decompression
KioArch is a Kotlin Multiplatform library for on-demand archive inspection and extraction without intermediate disk writes. Backed by native C decompression engines (7-Zip Core, miniz, and libbzip2), it streams decompressed chunks directly from a random-access com.sorrowblue.kioarch.SeekableSource into a kotlinx.io.Sink while keeping heap allocations constant regardless of archive size.
Supported Archive Formats
KioArch identifies formats by inspecting magic bytes at the start of the stream rather than relying on file extensions:
7z (
.7z): LZMA, LZMA2, and PPMd with BCJ, BCJ2, ARM, ARM64, IA64, and Delta filtersZIP (
.zip,.apk,.jar,.aar,.epub): Deflate and Store, with automatic UTF-8 and Shift_JIS (CP932) filename decodingTAR + Gzip (
.tar.gz,.tgz): Streaming Gzip (Deflate) decompression over POSIXustarTar archivesBzip2 / TAR + Bzip2 (
.bz2,.tar.bz2,.tbz2,.tbz): Streaming Bzip2 decompression
KioArch is a Kotlin Multiplatform library for on-demand archive inspection and extraction without intermediate disk writes. Backed by native C decompression engines (7-Zip Core, miniz, and libbzip2), it streams decompressed chunks directly from a random-access com.sorrowblue.kioarch.SeekableSource into a kotlinx.io.Sink while keeping heap allocations constant regardless of archive size.
Supported Archive Formats
KioArch identifies formats by inspecting magic bytes at the start of the stream rather than relying on file extensions:
7z (
.7z): LZMA, LZMA2, and PPMd with BCJ, BCJ2, ARM, ARM64, IA64, and Delta filtersZIP (
.zip,.apk,.jar,.aar,.epub): Deflate and Store, with automatic UTF-8 and Shift_JIS (CP932) filename decodingTAR + Gzip (
.tar.gz,.tgz): Streaming Gzip (Deflate) decompression over POSIXustarTar archivesBzip2 / TAR + Bzip2 (
.bz2,.tar.bz2,.tbz2,.tbz): Streaming Bzip2 decompression
KioArch is a Kotlin Multiplatform library for on-demand archive inspection and extraction without intermediate disk writes. Backed by native C decompression engines (7-Zip Core, miniz, and libbzip2), it streams decompressed chunks directly from a random-access com.sorrowblue.kioarch.SeekableSource into a kotlinx.io.Sink while keeping heap allocations constant regardless of archive size.
Supported Archive Formats
KioArch identifies formats by inspecting magic bytes at the start of the stream rather than relying on file extensions:
7z (
.7z): LZMA, LZMA2, and PPMd with BCJ, BCJ2, ARM, ARM64, IA64, and Delta filtersZIP (
.zip,.apk,.jar,.aar,.epub): Deflate and Store, with automatic UTF-8 and Shift_JIS (CP932) filename decodingTAR + Gzip (
.tar.gz,.tgz): Streaming Gzip (Deflate) decompression over POSIXustarTar archivesBzip2 / TAR + Bzip2 (
.bz2,.tar.bz2,.tbz2,.tbz): Streaming Bzip2 decompression
KioArch is a Kotlin Multiplatform library for on-demand archive inspection and extraction without intermediate disk writes. Backed by native C decompression engines (7-Zip Core, miniz, and libbzip2), it streams decompressed chunks directly from a random-access com.sorrowblue.kioarch.SeekableSource into a kotlinx.io.Sink while keeping heap allocations constant regardless of archive size.
Supported Archive Formats
KioArch identifies formats by inspecting magic bytes at the start of the stream rather than relying on file extensions:
7z (
.7z): LZMA, LZMA2, and PPMd with BCJ, BCJ2, ARM, ARM64, IA64, and Delta filtersZIP (
.zip,.apk,.jar,.aar,.epub): Deflate and Store, with automatic UTF-8 and Shift_JIS (CP932) filename decodingTAR + Gzip (
.tar.gz,.tgz): Streaming Gzip (Deflate) decompression over POSIXustarTar archivesBzip2 / TAR + Bzip2 (
.bz2,.tar.bz2,.tbz2,.tbz): Streaming Bzip2 decompression
KioArch is a Kotlin Multiplatform library for on-demand archive inspection and extraction without intermediate disk writes. Backed by native C decompression engines (7-Zip Core, miniz, and libbzip2), it streams decompressed chunks directly from a random-access com.sorrowblue.kioarch.SeekableSource into a kotlinx.io.Sink while keeping heap allocations constant regardless of archive size.
Supported Archive Formats
KioArch identifies formats by inspecting magic bytes at the start of the stream rather than relying on file extensions:
7z (
.7z): LZMA, LZMA2, and PPMd with BCJ, BCJ2, ARM, ARM64, IA64, and Delta filtersZIP (
.zip,.apk,.jar,.aar,.epub): Deflate and Store, with automatic UTF-8 and Shift_JIS (CP932) filename decodingTAR + Gzip (
.tar.gz,.tgz): Streaming Gzip (Deflate) decompression over POSIXustarTar archivesBzip2 / TAR + Bzip2 (
.bz2,.tar.bz2,.tbz2,.tbz): Streaming Bzip2 decompression
KioArch is a Kotlin Multiplatform library for on-demand archive inspection and extraction without intermediate disk writes. Backed by native C decompression engines (7-Zip Core, miniz, and libbzip2), it streams decompressed chunks directly from a random-access com.sorrowblue.kioarch.SeekableSource into a kotlinx.io.Sink while keeping heap allocations constant regardless of archive size.
Supported Archive Formats
KioArch identifies formats by inspecting magic bytes at the start of the stream rather than relying on file extensions:
7z (
.7z): LZMA, LZMA2, and PPMd with BCJ, BCJ2, ARM, ARM64, IA64, and Delta filtersZIP (
.zip,.apk,.jar,.aar,.epub): Deflate and Store, with automatic UTF-8 and Shift_JIS (CP932) filename decodingTAR + Gzip (
.tar.gz,.tgz): Streaming Gzip (Deflate) decompression over POSIXustarTar archivesBzip2 / TAR + Bzip2 (
.bz2,.tar.bz2,.tbz2,.tbz): Streaming Bzip2 decompression