KiteArchive

Top-level entry point for the library. Use it to detect an archive format, get a codec by id, or open a seekable source as a container reader.

Pure commonMain, kotlin-stdlib only. The kotlinx-io stream and file adapters live in the separate :kitearchive-io artifact.

Properties

Link copied to clipboard

Codec ids available right now.

Link copied to clipboard
Link copied to clipboard
val gzip: Codec
Link copied to clipboard
Link copied to clipboard
const val VERSION: String
Link copied to clipboard
val zlib: Codec

Functions

Link copied to clipboard
fun codec(id: CodecId): Codec?

The codec for id, or null if not yet implemented.

Link copied to clipboard

Open a container reader for a seekable source, dispatching on the sniffed format.

Link copied to clipboard

Detect the format of a seekable source (reads up to the first 512 bytes).

Detect the format of a header buffer.