Skip to main content

Module read

Module read 

Source
Expand description

Types for reading ZIP archives

Structs§

Config
Configuration for reading ZIP archives.
ZipArchive
ZIP archive reader
ZipArchiveMetadata
Immutable metadata about a ZipArchive.
ZipFile
A struct for reading a zip file
ZipFileSeek
A struct for reading and seeking a zip file
ZipReadOptions
Options for reading a file from an archive.

Enums§

ArchiveOffset
The offset of the start of the archive from the beginning of the reader.

Traits§

HasZipMetadata
A trait for exposing file metadata inside the zip.
RootDirFilter
A filter that determines whether an entry should be ignored when searching for the root directory of a Zip archive.

Functions§

read_zipfile_from_stream
Read ZipFile structures from a non-seekable reader.
read_zipfile_from_stream_with_compressed_size
Read ZipFile from a non-seekable reader like read_zipfile_from_stream does, but assume the given compressed size and don’t read any further ahead than that.
root_dir_common_filter
Common filters when finding the root directory of a Zip archive.