ivgtr/moonzip/types does not have a README file

    FlateError

    pub(all) suberror FlateError {
    FlateError(FlateErrorCode)
    }

    DeflateOptions

    pub(all) struct DeflateOptions {
    level : Int
    mem : Int
    dictionary : FixedArray[Byte]?
    }

    Options for DEFLATE compression.

    DeflateOptions::default

    FlateErrorCode

    pub(all) enum FlateErrorCode {
    UnexpectedEOF
    InvalidBlockType
    InvalidLengthLiteral
    InvalidDistance
    StreamFinished
    NoStreamHandler
    InvalidHeader
    NoCallback
    InvalidUTF8
    ExtraFieldTooLong
    InvalidDate
    FilenameTooLong
    StreamFinishing
    InvalidZipData
    UnknownCompressionMethod
    }

    Error codes compatible with fflate's FlateErrorCode (0-14).

    FlateErrorCode::code

    fn FlateErrorCode::code(self : FlateErrorCode) -> Int

    Returns the numeric code for this error.

    GzipOptions

    pub(all) struct GzipOptions {
    level : Int
    mem : Int
    mtime : Int?
    filename : String?
    comment : String?
    extra : FixedArray[Byte]?
    }

    Options for GZIP compression (extends DeflateOptions).
    impl Show for GzipOptions

    GzipOptions::default

    fn GzipOptions::default() -> GzipOptions

    InflateOptions

    pub(all) struct InflateOptions {
    size : Int?
    dictionary : FixedArray[Byte]?
    }

    Options for DEFLATE decompression.

    InflateOptions::default

    UnzipFileInfo

    pub(all) struct UnzipFileInfo {
    name : String
    size : Int
    original_size : Int
    compression : Int
    mtime : Int
    attrs : Int
    comment : String
    extra : Map[Int, FixedArray[Byte]]
    }

    Information about a file within a ZIP archive (used for filtering).

    ZipAttributes

    pub(all) struct ZipAttributes {
    os : Int?
    attrs : Int?
    comment : String?
    extra : Map[Int, FixedArray[Byte]]?
    }

    File attributes for ZIP entries.

    ZipEntryOptions

    pub(all) struct ZipEntryOptions {
    level : Int
    mtime : Int?
    attrs : ZipAttributes?
    }

    Options for individual ZIP file entries.

    ZipEntryOptions::default

    ZipOptions

    pub(all) struct ZipOptions {
    level : Int
    mtime : Int?
    comment : String?
    }

    Options for ZIP archive creation.
    impl Show for ZipOptions

    ZipOptions::default

    fn ZipOptions::default() -> ZipOptions

    ZlibOptions

    pub(all) struct ZlibOptions {
    level : Int
    mem : Int
    dictionary : FixedArray[Byte]?
    }

    Options for Zlib compression (extends DeflateOptions).
    impl Show for ZlibOptions

    ZlibOptions::default

    fn ZlibOptions::default() -> ZlibOptions

    Source Files