TarReader
TAR reader (v7 / ustar / GNU). TAR has no compression of its own — it is a concatenation of 512-byte-record entries — so this reader needs no codec; a .tar.gz is this reader composed over io.github.yuroyami.kitearchive.wrapper.Gzip.
Supports: ustar prefix + name (long-path), GNU L long-name pseudo-entries, octal and GNU base-256 numeric fields, normal files / directories. The full pax x/g extended-header and sparse-file handling are roadmap items (PORTING_STATUS.md).
Functions
Link copied to clipboard
List members from the header/directory only.
Link copied to clipboard
open override fun read(entry: ArchiveEntry, limits: ArchiveLimits = ArchiveLimits.DEFAULT): ByteArray
Read one entry's uncompressed bytes, enforcing limits.