← index

[Archive]ZipEntry

inherits Object · defined at core/17-zip.qn:32

One archive member, from the central directory. Metadata is plain fields; bytes fetches and verifies the content lazily (any time — entries are random-access, not consumed).

Instance methods

bytes

The member's content, decompressed and CRC-verified. Readable at any time, repeatedly — zip is random-access.

core/17-zip.qn:72

compressedSize

The compressed length as stored in the archive.

core/17-zip.qn:41

crc

core/17-zip.qn:79

date

The recorded modification DATE — civil, because that is what the zip field is: DOS local wall-clock, no zone (pretending otherwise would fabricate one). Zeroed components clamp to 1 (some tools write 0).

core/17-zip.qn:57

flags

core/17-zip.qn:81

method

#stored, #deflate, or #other (an unsupported method — bytes will throw a ParseError naming its code).

core/17-zip.qn:48

methodCode

-- internals the reader's contentFor: needs -----------------------------

core/17-zip.qn:78

name

The member's path, exactly as recorded (extractTo: is the safe way to turn it into a filesystem path).

core/17-zip.qn:35

offset

core/17-zip.qn:80

s

core/17-zip.qn:83

size

The UNcompressed content length in bytes.

core/17-zip.qn:38

text

The content decoded as UTF-8 text.

core/17-zip.qn:75

time

The recorded modification TIME (2-second resolution — the format's).

core/17-zip.qn:66

type

#file or #directory (the universal trailing-'/' convention).

core/17-zip.qn:44