apk-info-zip 1.1.0

A library for correctly unpacking APK files that use the BadPack technique
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Possible types of compression.

/// Represents the type of compression used for a file in a ZIP archive.
#[derive(Debug, PartialEq)]
pub enum FileCompressionType {
    /// The file is stored without compression.
    Stored,

    /// The file is compressed using the `Deflate` algorithm.
    Deflated,

    /// The file appears tampered but is actually stored without compression.
    StoredTampered,

    /// The file appears tampered but is actually compressed with `Deflate`.
    DeflatedTampered,
}