ZipEntry

data class ZipEntry(val compressedSize: Long, val compressionMethod: Int, val entrySize: Int, val numChunks: Int, val path: String, val startChunkIndex: Int, val startOffsetInChunk: Int, val uncompressedSize: Long)

Metadata about a file entry in a zip archive.

Constructors

Link copied to clipboard
fun ZipEntry(compressedSize: Long, compressionMethod: Int, entrySize: Int, numChunks: Int, path: String, startChunkIndex: Int, startOffsetInChunk: Int, uncompressedSize: Long)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The size of the compressed data.

Link copied to clipboard

The compression method used. See chapter 4.4.5 in https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT The only supported methods are: 0 - The file is stored (no compression) 8 - The file is Deflated

Link copied to clipboard

The size of the local header, compressed data, and data descriptor in bytes.

Link copied to clipboard
Link copied to clipboard

The file path of the zip entry.

Link copied to clipboard

The index of the chunk where the start of the local header can be found

Link copied to clipboard

The start offset of the local header within the start chunk.

Link copied to clipboard

The size of the uncompressed data.