Crate stream_zipper[][src]

Modules

deflate
gzip
input_helper
utils
zip

Enums

Error

An error type that delegates to ZipError or GzipError. In case the file format detection fails, there’s a third error state for that.

File

Corresponds to a zipped or gzipped file/stream. Can be in one of three states: not-yet-detected type, a zip file or a gzip file.

ReadHeadersResult
State

Represents a state of a compressed input stream. Generic over the actual stream type (gzip or zip).

Functions

start_stream

Initialises a File that starts in a state that is agnostic about the whether the input stream is in zip format or gzip format. Use this function to initialise the stream if you want to auto-detect the input format.