diff --git a/.jazzy.yaml b/.jazzy.yaml index a37058ae..f48e98ac 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -3,9 +3,9 @@ clean: true exclude: Tests/ author: Timofey Solomko module: SWCompression -module_version: 2.4.2 +module_version: 3.0.0-test2 copyright: '© 2017 Timofey Solomko' readme: README.md github_url: https://github.com/tsolomko/SWCompression -github_file_prefix: https://github.com/tsolomko/SWCompression/tree/v2.4.2 +github_file_prefix: https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2 theme: fullwidth diff --git a/CHANGELOG.md b/CHANGELOG.md index ca4e3787..d621c8e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ # Changelog v3.0.0 ---------------- +#### test2 +- Added support for TAR containers. + - Various standards are supported (pre-POSIX, POSIX-1988, pax). + - Added subspec for TAR features. +- Added Container protocol. + - Reworked ZipContainer to conform to new protocol. +- All Errors cases renamed to conform Swift naming convetions (lowerCamelCase). +- Removed LZMAOutWindow. +- Test results combined into single document. +- Reduced tests sizes. +- Included 2.4.1 and 2.4.2 changes. + #### test1 - BZip2 decompression now checks CRC32. - GZipHeader.modificationTime is now Optional. diff --git a/SWCompression.podspec b/SWCompression.podspec index 316a813b..707a68c2 100644 --- a/SWCompression.podspec +++ b/SWCompression.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SWCompression" - s.version = "3.0.0-test1" + s.version = "3.0.0-test2" s.summary = "Framework with implementations in Swift of different (de)compression algorithms" s.description = <<-DESC @@ -74,4 +74,9 @@ Pod::Spec.new do |s| sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMP_ZIP_POD_BUILD' } end + s.subspec 'TAR' do |sp| + sp.dependency 'SWCompression/Common' + sp.source_files = 'Sources/TarContainer.swift' + end + end diff --git a/docs/Classes.html b/docs/Classes.html index a23bc05d..7fa3b6d8 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

@@ -67,12 +67,24 @@

+ + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -186,7 +204,7 @@
- Show on GitHub + Show on GitHub
@@ -221,7 +239,7 @@
- Show on GitHub + Show on GitHub
@@ -230,6 +248,37 @@
@@ -291,7 +340,7 @@
- Show on GitHub + Show on GitHub
@@ -326,7 +375,7 @@
- Show on GitHub + Show on GitHub
@@ -361,7 +410,7 @@
- Show on GitHub + Show on GitHub
@@ -396,7 +445,73 @@
- Show on GitHub + Show on GitHub +
+ + + + + +
+
- Show on GitHub + Show on GitHub
@@ -445,7 +560,7 @@ diff --git a/docs/Classes/BZip2.html b/docs/Classes/BZip2.html index 67a9d601..391621e7 100644 --- a/docs/Classes/BZip2.html +++ b/docs/Classes/BZip2.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

@@ -68,12 +68,24 @@

+ + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -212,7 +230,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

Data compressed with BZip2.

-
@@ -222,10 +239,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

Return Value

Decompressed data.

-
- Show on GitHub + Show on GitHub
@@ -239,7 +255,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/Classes/Deflate.html b/docs/Classes/Deflate.html index dbb7637a..48b672aa 100644 --- a/docs/Classes/Deflate.html +++ b/docs/Classes/Deflate.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

@@ -68,12 +68,24 @@

+ + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -212,7 +230,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

Data compressed with DEFLATE.

-
@@ -222,10 +239,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

Return Value

Decompressed data.

-
- Show on GitHub + Show on GitHub
@@ -265,7 +281,7 @@ static Huffman is used in all other cases.
- Show on GitHub + Show on GitHub
@@ -279,7 +295,7 @@ static Huffman is used in all other cases. diff --git a/docs/Classes/GzipArchive.html b/docs/Classes/GzipArchive.html index 789b7b12..dd78db7f 100644 --- a/docs/Classes/GzipArchive.html +++ b/docs/Classes/GzipArchive.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

@@ -68,12 +68,24 @@

+ + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -219,7 +237,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

Data compressed with gzip.

-
@@ -229,10 +246,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

Return Value

Unarchived data.

-
- Show on GitHub + Show on GitHub
@@ -289,7 +305,6 @@ It will be also specified that the compressor used slowest DEFLATE algorithm.

Data to compress and archive.

-
@@ -299,10 +314,9 @@ It will be also specified that the compressor used slowest DEFLATE algorithm.

Return Value

Data object with resulting archive.

-
- Show on GitHub + Show on GitHub
@@ -316,7 +330,7 @@ It will be also specified that the compressor used slowest DEFLATE algorithm.

diff --git a/docs/Classes/LZMA.html b/docs/Classes/LZMA.html index da30ab7b..7810dc32 100644 --- a/docs/Classes/LZMA.html +++ b/docs/Classes/LZMA.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

@@ -68,12 +68,24 @@

+ + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -212,7 +230,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

Data compressed with LZMA.

-
@@ -222,10 +239,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

Return Value

Decompressed data.

-
- Show on GitHub + Show on GitHub
@@ -239,7 +255,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/Classes/LZMA2.html b/docs/Classes/LZMA2.html index 01f74f7d..644475ed 100644 --- a/docs/Classes/LZMA2.html +++ b/docs/Classes/LZMA2.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

@@ -68,12 +68,24 @@

+ + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -212,7 +230,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

Data compressed with LZMA2.

-
@@ -222,10 +239,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

Return Value

Decompressed data.

-
- Show on GitHub + Show on GitHub
@@ -239,7 +255,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/Classes/TarContainer.html b/docs/Classes/TarContainer.html new file mode 100644 index 00000000..bbf3179b --- /dev/null +++ b/docs/Classes/TarContainer.html @@ -0,0 +1,231 @@ + + + + TarContainer Class Reference + + + + + + + + + + + + + + + + +
+

+ + SWCompression Docs + + (75% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TarContainer

+
+
+
public class TarContainer: Container
+ +
+
+

Provides function which opens TAR archives (containers).

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/docs/Classes/TarEntry.html b/docs/Classes/TarEntry.html new file mode 100644 index 00000000..89fdeeba --- /dev/null +++ b/docs/Classes/TarEntry.html @@ -0,0 +1,718 @@ + + + + TarEntry Class Reference + + + + + + + + + + + + + + + + +
+

+ + SWCompression Docs + + (75% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TarEntry

+
+
+
public class TarEntry: ContainerEntry
+ +
+
+

Represents either a file or directory entry inside TAR archive.

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + diff --git a/docs/Classes/TarEntry/EntryType.html b/docs/Classes/TarEntry/EntryType.html new file mode 100644 index 00000000..5a40df63 --- /dev/null +++ b/docs/Classes/TarEntry/EntryType.html @@ -0,0 +1,477 @@ + + + + EntryType Enum Reference + + + + + + + + + + + + + + + + +
+

+ + SWCompression Docs + + (75% documented) +

+ +

+

+ +
+

+ +

+ + + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

EntryType

+

Undocumented

+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+ + + + diff --git a/docs/Classes/XZArchive.html b/docs/Classes/XZArchive.html index 3515e5fb..34de8365 100644 --- a/docs/Classes/XZArchive.html +++ b/docs/Classes/XZArchive.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

@@ -68,12 +68,24 @@

+ + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -183,7 +201,7 @@

Unarchives xz archive stored in archiveData.

If data passed is not actually a xz archive, XZError will be thrown. -If filters other than LZMA2 are used in archive then XZError.WrongFilterID will be thrown.

+If filters other than LZMA2 are used in archive then XZError.wrongFilterID will be thrown.

If data inside the archive is not actually compressed with LZMA2, LZMAError or LZMA2Error will be thrown.

@@ -216,7 +234,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

Data compressed with xz.

-
@@ -226,10 +243,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

Return Value

Unarchived data.

-
- Show on GitHub + Show on GitHub
@@ -243,7 +259,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/Classes/ZipContainer.html b/docs/Classes/ZipContainer.html index 22fe4dce..cd31f8ff 100644 --- a/docs/Classes/ZipContainer.html +++ b/docs/Classes/ZipContainer.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

@@ -68,12 +68,24 @@

+ + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -154,11 +172,11 @@

ZipContainer

-
public class ZipContainer
+
public class ZipContainer: Container
-

Provides function to open ZIP archives (containers).

+

Provides function which opens ZIP archives (containers).

@@ -170,177 +188,9 @@
  • - - - entries - -
    -
    -
    -
    -
    -
    -

    All file and directory entries found in ZIP archive (in its Central Directory).

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var entries: [ZipEntry]
    - -
    -
    - -
    -
    -
  • -
  • -
    - - - - init(containerData:) - -
    -
    -
    -
    -
    -
    -

    Tries to open ZIP archive and parse its Central Directory. -If parsing is successful then entries property will contain all directory or file entries found in archive.

    -
    -

    Important

    -

    The order of entries is defined by ZIP archive and, particularly, creator of given ZIP container. -It is likely that directories will be encountered earlier than files stored in those directories, -but one SHOULD NOT assume that this is the case.

    - -
    -
    -

    Note

    -

    Currently, there is no universal (platform and file system independent) method to determine if entry is a directory. -One can check this by looking at the size of entry’s data (it should be 0 for directory) AND -the last character of entry’s name (it should be ‘/’). If all of these is true then entry is likely to be a directory.

    - -
    -
    -

    Note

    -

    Only ZIP containers complying to ISO/IEC 21320-1 standard are supported.

    - -
    -
    -

    Throws

    -

    ZipError or DeflateError depending on the type of inconsistency in data. -It may indicate that either the container is damaged or it might not be ZIP container or compressed with Deflate at all.

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(containerData data: Data) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - containerData - - -
    -

    Data of ZIP container.

    - -
    -
    -
    - -
    -
    -
  • -
  • -
    - - - - data(for:) - -
    -
    -
    -
    -
    -
    -

    Returns data associated with provided ZipEntry.

    -
    -

    Note

    -

    Returned Data object with the size of 0 can either indicate that the entry is an empty file -or it is a directory.

    - -
    -
    -

    Throws

    -

    ZipError or DeflateError depending on the type of inconsistency in data. -An error can indicate that the container is damaged.

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func data(for zipEntry: ZipEntry) throws -> Data
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - zipEntry - - -
    -

    file or directory entry from current container.

    - -
    -
    -
    - -
    -
    -
  • -
  • -
    - - + - open(containerData:) + open(containerData:)
    @@ -348,7 +198,7 @@ An error can indicate that the container is damaged.

    -

    Processes ZIP archive (container) and returns an array of tuples (String, Data). +

    Processes ZIP archive (container) and returns an array of ContainerEntries (which are actually ZipEntries). First member of a tuple is entry’s name, second member is entry’s data.

    Important

    @@ -363,16 +213,12 @@ but one SHOULD NOT assume that this is the case.

    One can check this by looking at the size of entry’s data (it should be 0 for directory) AND the last character of entry’s name (it should be ‘/’). If all of these is true then entry is likely to be a directory.

    -
    -
    -

    Note

    -

    Only ZIP containers complying to ISO/IEC 21320-1 standard are supported.

    -

    Throws

    -

    ZipError or DeflateError depending on the type of inconsistency in data. -It may indicate that either the container is damaged or it might not be ZIP container or compressed with Deflate at all.

    +

    ZipError or any other error associated with compression type, +depending on the type of inconsistency in data. +It may indicate that either the container is damaged or it might not be ZIP container at all.

    @@ -381,7 +227,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont

    Declaration

    Swift

    -
    public static func open(containerData data: Data) throws -> [(entryName: String, entryData: Data)]
    +
    public static func open(containerData: Data) throws -> [ContainerEntry]
    @@ -398,7 +244,6 @@ It may indicate that either the container is damaged or it might not be ZIP cont

    Data of ZIP container.

    -
    @@ -407,11 +252,10 @@ It may indicate that either the container is damaged or it might not be ZIP cont

    Return Value

    -

    Array of pairs (tuples) where first member is entryName and second member is entryData.

    - +

    Array of pairs ZipEntries as an array of ContainerEntries.

    @@ -425,7 +269,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont diff --git a/docs/Classes/ZipEntry.html b/docs/Classes/ZipEntry.html new file mode 100644 index 00000000..a0976478 --- /dev/null +++ b/docs/Classes/ZipEntry.html @@ -0,0 +1,395 @@ + + + + ZipEntry Class Reference + + + + + + + + + + + + + + + + +
    +

    + + SWCompression Docs + + (75% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    ZipEntry

    +
    +
    +
    public class ZipEntry: ContainerEntry
    + +
    +
    +

    Represents either a file or directory entry inside ZIP archive.

    + +
    +
    + +
    +
    +
    +
      +
    • +
      + + + + name + +
      +
      +
      +
      +
      +
      +

      Name of the file or directory.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var name: String
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + comment + +
      +
      +
      +
      +
      +
      +

      Comment associated with the entry.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var comment: String?
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + attributes + +
      +
      +
      +
      +
      +
      +

      File or directory attributes related to the file system of archive’s creator.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var attributes: UInt32
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + size + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public class ZipEntry: ContainerEntry
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + isDirectory + +
      +
      +
      +
      +
      +
      +

      True, if an entry is likely to be a directory. +Particularly, it is true if size of data is 0 and last character of entry’s name is ‘/’.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var isDirectory: Bool
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + data() + +
      +
      +
      +
      +
      +
      +

      Returns data associated with this entry.

      +
      +

      Note

      +

      Returned Data object with the size of 0 can either indicate that the entry is an empty file +or it is a directory.

      + +
      +
      +

      Throws

      +

      ZipError or any other error associated with compression type, +depending on the type of inconsistency in data. +An error can indicate that the container is damaged.

      + +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public func data() throws -> Data
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/Classes/ZlibArchive.html b/docs/Classes/ZlibArchive.html index 31976524..c703621d 100644 --- a/docs/Classes/ZlibArchive.html +++ b/docs/Classes/ZlibArchive.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -219,7 +237,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Data compressed with zlib.

    -
    @@ -229,10 +246,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Return Value

    Unarchived data.

    -
    - Show on GitHub + Show on GitHub
    @@ -287,7 +303,6 @@ It will be specified in archive’s header that the compressor used slowest

    Data to compress and archive.

    -
    @@ -297,10 +312,9 @@ It will be specified in archive’s header that the compressor used slowest

    Return Value

    Data object with resulting archive.

    -
    - Show on GitHub + Show on GitHub
    @@ -314,7 +328,7 @@ It will be specified in archive’s header that the compressor used slowest diff --git a/docs/Enums.html b/docs/Enums.html index 8197c768..6766e027 100644 --- a/docs/Enums.html +++ b/docs/Enums.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -67,12 +67,24 @@

    + + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -177,11 +195,11 @@ It may indicate that either the data is damaged or it might not be compressed with LZMA2 at all.

    See more @@ -195,7 +213,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
    - Show on GitHub + Show on GitHub
    @@ -221,14 +239,14 @@ It may indicate that either the data is damaged or it might not be compressed wi It may indicate that either the data is damaged or it might not be gzip archive at all.

    See more @@ -242,7 +260,7 @@ Associated value contains already decompressed data.
    - Show on GitHub + Show on GitHub
    @@ -268,17 +286,17 @@ Associated value contains already decompressed data. It may indicate that either the data is damaged or it might not be ZIP archive (container) at all.

    See more @@ -292,7 +310,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
    - Show on GitHub + Show on GitHub
    @@ -318,15 +336,15 @@ It may indicate that either the data is damaged or it might not be ZIP archive ( It may indicate that either the data is damaged or it might not be compressed with LZMA at all.

    @@ -341,7 +359,7 @@ than the repeat length.
    - Show on GitHub + Show on GitHub
    @@ -367,10 +385,10 @@ than the repeat length. It may indicate that either the data is damaged or it might not be Zlib archive at all.

    @@ -386,7 +404,7 @@ Associated value contains already decompressed data.
    - Show on GitHub + Show on GitHub
    @@ -412,10 +430,10 @@ Associated value contains already decompressed data. It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.

    See more @@ -429,7 +447,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
    - Show on GitHub + Show on GitHub
    @@ -455,15 +473,16 @@ It may indicate that either the data is damaged or it might not be compressed wi It may indicate that either the data is damaged or it might not be compressed with BZip2 at all.

    See more @@ -477,7 +496,47 @@ It may indicate that either the data is damaged or it might not be compressed wi
    - Show on GitHub + Show on GitHub +
    + + + + + +
    +
    - Show on GitHub + Show on GitHub
    @@ -542,7 +601,7 @@ Associated value contains already decompressed data. diff --git a/docs/Enums/BZip2Error.html b/docs/Enums/BZip2Error.html index 66c7c342..319fa64d 100644 --- a/docs/Enums/BZip2Error.html +++ b/docs/Enums/BZip2Error.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,15 +180,16 @@ It may indicate that either the data is damaged or it might not be compressed with BZip2 at all.

    @@ -183,9 +202,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongMagic + + + wrongMagic
    @@ -200,12 +219,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongMagic
    +
    case wrongMagic
    @@ -217,9 +236,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongCompressionMethod + + + wrongCompressionMethod
    @@ -234,12 +253,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongCompressionMethod
    +
    case wrongCompressionMethod
    @@ -251,9 +270,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongBlockSize + + + wrongBlockSize
    @@ -268,12 +287,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongBlockSize
    +
    case wrongBlockSize
    @@ -285,9 +304,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongBlockType + + + wrongBlockType
    @@ -302,12 +321,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongBlockType
    +
    case wrongBlockType
    @@ -319,9 +338,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - RandomizedBlock + + + randomizedBlock
    @@ -336,12 +355,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case RandomizedBlock
    +
    case randomizedBlock
    @@ -353,9 +372,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongHuffmanGroups + + + wrongHuffmanGroups
    @@ -370,12 +389,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongHuffmanGroups
    +
    case wrongHuffmanGroups
    @@ -387,9 +406,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongSelector + + + wrongSelector
    @@ -404,12 +423,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongSelector
    +
    case wrongSelector
    @@ -421,9 +440,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongHuffmanLengthCode + + + wrongHuffmanLengthCode
    @@ -438,12 +457,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongHuffmanLengthCode
    +
    case wrongHuffmanLengthCode
    @@ -455,9 +474,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - SymbolNotFound + + + symbolNotFound
    @@ -472,12 +491,47 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case SymbolNotFound
    +
    case symbolNotFound
    + + +
  • + + +
    +
    diff --git a/docs/Enums/DeflateError.html b/docs/Enums/DeflateError.html index 61ac45e6..e7ebdcf9 100644 --- a/docs/Enums/DeflateError.html +++ b/docs/Enums/DeflateError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,10 +180,10 @@ It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.

    @@ -178,9 +196,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongUncompressedBlockLengths + + + wrongUncompressedBlockLengths
    @@ -195,12 +213,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongUncompressedBlockLengths
    +
    case wrongUncompressedBlockLengths
    @@ -212,9 +230,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongBlockType + + + wrongBlockType
    @@ -229,12 +247,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongBlockType
    +
    case wrongBlockType
    @@ -246,9 +264,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongSymbol + + + wrongSymbol
    @@ -263,12 +281,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongSymbol
    +
    case wrongSymbol
    @@ -280,9 +298,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - SymbolNotFound + + + symbolNotFound
    @@ -297,12 +315,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case SymbolNotFound
    +
    case symbolNotFound
    @@ -316,7 +334,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/Enums/GzipError.html b/docs/Enums/GzipError.html index 3ef9f7c0..54abc734 100644 --- a/docs/Enums/GzipError.html +++ b/docs/Enums/GzipError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,14 +180,14 @@ It may indicate that either the data is damaged or it might not be gzip archive at all.

    @@ -182,9 +200,9 @@ Associated value contains already decompressed data.
  • - - - WrongMagic + + + wrongMagic
    @@ -199,12 +217,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongMagic
    +
    case wrongMagic
    - Show on GitHub + Show on GitHub
    @@ -216,9 +234,9 @@ Associated value contains already decompressed data.
  • - - - WrongCompressionMethod + + + wrongCompressionMethod
    @@ -233,12 +251,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongCompressionMethod
    +
    case wrongCompressionMethod
    - Show on GitHub + Show on GitHub
    @@ -250,9 +268,9 @@ Associated value contains already decompressed data.
  • - - - WrongFlags + + + wrongFlags
    @@ -267,12 +285,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongFlags
    +
    case wrongFlags
    - Show on GitHub + Show on GitHub
    @@ -284,9 +302,9 @@ Associated value contains already decompressed data.
  • - - - WrongHeaderCRC + + + wrongHeaderCRC
    @@ -301,12 +319,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongHeaderCRC
    +
    case wrongHeaderCRC
    - Show on GitHub + Show on GitHub
    @@ -318,9 +336,9 @@ Associated value contains already decompressed data.
  • - - - WrongCRC + + + wrongCRC
    @@ -336,12 +354,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongCRC(Data)
    +
    case wrongCRC(Data)
    @@ -353,9 +371,9 @@ Associated value contains already decompressed data.

  • - - - WrongISize + + + wrongISize
    @@ -370,12 +388,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongISize
    +
    case wrongISize
    @@ -389,7 +407,7 @@ Associated value contains already decompressed data.

    diff --git a/docs/Enums/LZMA2Error.html b/docs/Enums/LZMA2Error.html index 065a19f3..efead898 100644 --- a/docs/Enums/LZMA2Error.html +++ b/docs/Enums/LZMA2Error.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,11 +180,11 @@ It may indicate that either the data is damaged or it might not be compressed with LZMA2 at all.

    @@ -179,9 +197,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongProperties + + + wrongProperties
    @@ -196,12 +214,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongProperties
    +
    case wrongProperties
    @@ -213,9 +231,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongDictionarySize + + + wrongDictionarySize
    @@ -230,12 +248,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongDictionarySize
    +
    case wrongDictionarySize
    @@ -247,9 +265,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongControlByte + + + wrongControlByte
    @@ -264,12 +282,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongControlByte
    +
    case wrongControlByte
    @@ -281,9 +299,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongReset + + + wrongReset
    @@ -298,12 +316,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongReset
    +
    case wrongReset
    @@ -315,9 +333,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongSizes + + + wrongSizes
    @@ -333,12 +351,12 @@ amount of compressed data read was different from the one stored in LZMA2 packet

    Declaration

    Swift

    -
    case WrongSizes
    +
    case wrongSizes
    @@ -352,7 +370,7 @@ amount of compressed data read was different from the one stored in LZMA2 packet diff --git a/docs/Enums/LZMAError.html b/docs/Enums/LZMAError.html index 98354d8c..3aed164a 100644 --- a/docs/Enums/LZMAError.html +++ b/docs/Enums/LZMAError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,15 +180,15 @@ It may indicate that either the data is damaged or it might not be compressed with LZMA at all.

    @@ -184,9 +202,9 @@ than the repeat length.
  • - - - WrongProperties + + + wrongProperties
    @@ -201,12 +219,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case WrongProperties
    +
    case wrongProperties
    - Show on GitHub + Show on GitHub
    @@ -218,9 +236,9 @@ than the repeat length.
  • - - - RangeDecoderInitError + + + rangeDecoderInitError
    @@ -235,12 +253,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case RangeDecoderInitError
    +
    case rangeDecoderInitError
    - Show on GitHub + Show on GitHub
    @@ -252,9 +270,9 @@ than the repeat length.
  • - - - ExceededUncompressedSize + + + exceededUncompressedSize
    @@ -269,12 +287,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case ExceededUncompressedSize
    +
    case exceededUncompressedSize
    - Show on GitHub + Show on GitHub
    @@ -286,9 +304,9 @@ than the repeat length.
  • - - - WindowIsEmpty + + + windowIsEmpty
    @@ -303,12 +321,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case WindowIsEmpty
    +
    case windowIsEmpty
    - Show on GitHub + Show on GitHub
    @@ -320,9 +338,9 @@ than the repeat length.
  • - - - RangeDecoderFinishError + + + rangeDecoderFinishError
    @@ -337,12 +355,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case RangeDecoderFinishError
    +
    case rangeDecoderFinishError
    - Show on GitHub + Show on GitHub
    @@ -354,9 +372,9 @@ than the repeat length.
  • - - - RepeatWillExceed + + + repeatWillExceed
    @@ -371,12 +389,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case RepeatWillExceed
    +
    case repeatWillExceed
    - Show on GitHub + Show on GitHub
    @@ -388,9 +406,9 @@ than the repeat length.
  • - - - NotEnoughToRepeat + + + notEnoughToRepeat
    @@ -405,12 +423,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case NotEnoughToRepeat
    +
    case notEnoughToRepeat
    - Show on GitHub + Show on GitHub
    @@ -424,7 +442,7 @@ than the repeat length. diff --git a/docs/Enums/TarError.html b/docs/Enums/TarError.html new file mode 100644 index 00000000..ed839fb6 --- /dev/null +++ b/docs/Enums/TarError.html @@ -0,0 +1,372 @@ + + + + TarError Enum Reference + + + + + + + + + + + + + + + + +
    +

    + + SWCompression Docs + + (75% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    TarError

    +
    +
    +
    public enum TarError: Error
    + +
    +
    +

    Error happened during processing TAR archive (container). +It may indicate that either the data is damaged or it might not be TAR archive (container) at all.

    + +
      +
    • error: error description.
    • +
    + +
    +
    + +
    +
    +
    + +
    +
    +
      +
    • +
      + + + + fieldIsNotNumber + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public enum TarError: Error
      + +
      +
      + +
      +
      +
    • +
    +
    +
    + +
    +
    +
      +
    • +
      + + + + wrongUstarVersion + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public enum TarError: Error
      + +
      +
      + +
      +
      +
    • +
    +
    +
    + +
    +
    +
    + +
    +
    + + + + diff --git a/docs/Enums/XZError.html b/docs/Enums/XZError.html index 93be1260..13fff32d 100644 --- a/docs/Enums/XZError.html +++ b/docs/Enums/XZError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,18 +180,18 @@ It may indicate that either the data is damaged or it might not be XZ archive at all.

    @@ -186,9 +204,9 @@ Associated value contains already decompressed data.
  • - - - WrongMagic + + + wrongMagic
    @@ -203,12 +221,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongMagic
    +
    case wrongMagic
    - Show on GitHub + Show on GitHub
    @@ -220,9 +238,9 @@ Associated value contains already decompressed data.
  • - - - WrongArchiveInfo + + + wrongArchiveInfo
    @@ -237,12 +255,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongArchiveInfo
    +
    case wrongArchiveInfo
    - Show on GitHub + Show on GitHub
    @@ -254,9 +272,9 @@ Associated value contains already decompressed data.
  • - - - FieldReservedValue + + + fieldReservedValue
    @@ -271,12 +289,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case FieldReservedValue
    +
    case fieldReservedValue
    - Show on GitHub + Show on GitHub
    @@ -288,9 +306,9 @@ Associated value contains already decompressed data.
  • - - - WrongInfoCRC + + + wrongInfoCRC
    @@ -305,12 +323,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongInfoCRC
    +
    case wrongInfoCRC
    - Show on GitHub + Show on GitHub
    @@ -322,9 +340,9 @@ Associated value contains already decompressed data.
  • - - - WrongFilterID + + + wrongFilterID
    @@ -339,12 +357,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongFilterID
    +
    case wrongFilterID
    - Show on GitHub + Show on GitHub
    @@ -356,9 +374,9 @@ Associated value contains already decompressed data.
  • - - - CheckTypeSHA256 + + + checkTypeSHA256
    @@ -373,12 +391,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case CheckTypeSHA256
    +
    case checkTypeSHA256
    - Show on GitHub + Show on GitHub
    @@ -390,9 +408,9 @@ Associated value contains already decompressed data.
  • - - - WrongDataSize + + + wrongDataSize
    @@ -408,12 +426,12 @@ amount of compressed data read was different from the one stored in block header

    Declaration

    Swift

    -
    case WrongDataSize
    +
    case wrongDataSize
    @@ -425,9 +443,9 @@ amount of compressed data read was different from the one stored in block header
  • - - - WrongCheck + + + wrongCheck
    @@ -443,12 +461,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongCheck(Data)
    +
    case wrongCheck(Data)
    @@ -460,9 +478,9 @@ Associated value contains already decompressed data.

  • - - - WrongPadding + + + wrongPadding
    @@ -477,12 +495,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongPadding
    +
    case wrongPadding
    @@ -494,9 +512,9 @@ Associated value contains already decompressed data.

  • - - - MultiByteIntegerError + + + multiByteIntegerError
    @@ -511,12 +529,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case MultiByteIntegerError
    +
    case multiByteIntegerError
    @@ -530,7 +548,7 @@ Associated value contains already decompressed data.

    diff --git a/docs/Enums/ZipError.html b/docs/Enums/ZipError.html index 40111133..047dfc95 100644 --- a/docs/Enums/ZipError.html +++ b/docs/Enums/ZipError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,17 +180,17 @@ It may indicate that either the data is damaged or it might not be ZIP archive (container) at all.

    @@ -185,9 +203,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - NotFoundCentralDirectoryEnd + + + notFoundCentralDirectoryEnd
    @@ -202,12 +220,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case NotFoundCentralDirectoryEnd
    +
    case notFoundCentralDirectoryEnd
    @@ -219,9 +237,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongSignature + + + wrongSignature
    @@ -236,12 +254,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case WrongSignature
    +
    case wrongSignature
    @@ -253,9 +271,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongSize + + + wrongSize
    @@ -270,12 +288,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case WrongSize
    +
    case wrongSize
    @@ -287,9 +305,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongVersion + + + wrongVersion
    @@ -304,12 +322,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case WrongVersion
    +
    case wrongVersion
    @@ -321,9 +339,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - MultiVolumesNotSupported + + + multiVolumesNotSupported
    @@ -338,12 +356,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case MultiVolumesNotSupported
    +
    case multiVolumesNotSupported
    @@ -355,9 +373,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - EncryptionNotSupported + + + encryptionNotSupported
    @@ -372,12 +390,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case EncryptionNotSupported
    +
    case encryptionNotSupported
    @@ -389,9 +407,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - PatchingNotSupported + + + patchingNotSupported
    @@ -406,12 +424,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case PatchingNotSupported
    +
    case patchingNotSupported
    @@ -423,9 +441,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - CompressionNotSupported + + + compressionNotSupported
    @@ -440,12 +458,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case CompressionNotSupported
    +
    case compressionNotSupported
    @@ -457,9 +475,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongLocalHeader + + + wrongLocalHeader
    @@ -474,12 +492,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case WrongLocalHeader
    +
    case wrongLocalHeader
    @@ -491,9 +509,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongCRC32 + + + wrongCRC32
    @@ -501,19 +519,54 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
    -

    Wrong computed CRC32 of an entry.

    +

    Computed CRC32 of entry’s data didn’t match the value stored in the container. +Associated value contains extracted data.

    Declaration

    Swift

    -
    case WrongCRC32
    +
    case wrongCRC32(Data)
    +
    +
    +
  • + + +
    +
    diff --git a/docs/Enums/ZlibError.html b/docs/Enums/ZlibError.html index 75630825..665a6523 100644 --- a/docs/Enums/ZlibError.html +++ b/docs/Enums/ZlibError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,10 +180,10 @@ It may indicate that either the data is damaged or it might not be Zlib archive at all.

    @@ -180,9 +198,9 @@ Associated value contains already decompressed data.
  • - - - WrongCompressionMethod + + + wrongCompressionMethod
    @@ -197,12 +215,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongCompressionMethod
    +
    case wrongCompressionMethod
    - Show on GitHub + Show on GitHub
    @@ -214,9 +232,9 @@ Associated value contains already decompressed data.
  • - - - WrongCompressionInfo + + + wrongCompressionInfo
    @@ -231,12 +249,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongCompressionInfo
    +
    case wrongCompressionInfo
    - Show on GitHub + Show on GitHub
    @@ -248,9 +266,9 @@ Associated value contains already decompressed data.
  • - - - WrongFcheck + + + wrongFcheck
    @@ -265,12 +283,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongFcheck
    +
    case wrongFcheck
    - Show on GitHub + Show on GitHub
    @@ -282,9 +300,9 @@ Associated value contains already decompressed data.
  • - - - WrongCompressionLevel + + + wrongCompressionLevel
    @@ -299,12 +317,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongCompressionLevel
    +
    case wrongCompressionLevel
    - Show on GitHub + Show on GitHub
    @@ -316,9 +334,9 @@ Associated value contains already decompressed data.
  • - - - WrongAdler32 + + + wrongAdler32
    @@ -334,12 +352,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongAdler32(Data)
    +
    case wrongAdler32(Data)
    @@ -353,7 +371,7 @@ Associated value contains already decompressed data.

    diff --git a/docs/Protocols.html b/docs/Protocols.html index 6ffccfd9..6375a356 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -67,12 +67,24 @@

  • + + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -186,7 +204,7 @@
    - Show on GitHub + Show on GitHub
    @@ -217,7 +235,53 @@
    - Show on GitHub + Show on GitHub +
    + + + +
  • +
    + + + + Container + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    + +
    +
    +
  • +
  • +
    + + + + ContainerEntry + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    @@ -231,7 +295,7 @@ diff --git a/docs/Protocols/Archive.html b/docs/Protocols/Archive.html index 46110cdf..04d2e675 100644 --- a/docs/Protocols/Archive.html +++ b/docs/Protocols/Archive.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@
    - Show on GitHub + Show on GitHub
    @@ -206,7 +224,7 @@ diff --git a/docs/Protocols/Container.html b/docs/Protocols/Container.html new file mode 100644 index 00000000..51bedd79 --- /dev/null +++ b/docs/Protocols/Container.html @@ -0,0 +1,217 @@ + + + + Container Protocol Reference + + + + + + + + + + + + + + + + +
    +

    + + SWCompression Docs + + (75% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + + +
    + + + + diff --git a/docs/Structs/ZipEntry.html b/docs/Protocols/ContainerEntry.html similarity index 71% rename from docs/Structs/ZipEntry.html rename to docs/Protocols/ContainerEntry.html index 6a4eb919..83d16939 100644 --- a/docs/Structs/ZipEntry.html +++ b/docs/Protocols/ContainerEntry.html @@ -1,7 +1,7 @@ - ZipEntry Struct Reference + ContainerEntry Protocol Reference @@ -14,16 +14,16 @@ - + - +

    SWCompression Docs - (100% documented) + (75% documented)

    @@ -44,7 +44,7 @@

    @@ -68,12 +68,24 @@ + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -151,14 +169,8 @@
    -

    ZipEntry

    -
    -
    -
    public struct ZipEntry
    - -
    -
    -

    Represents either a file or directory entry inside ZIP archive.

    +

    ContainerEntry

    +

    Undocumented

    @@ -170,9 +182,9 @@
  • - - - fileName + + + name
    @@ -180,19 +192,11 @@
    -

    Name of the file or directory.

    +

    Undocumented

    -
    -

    Declaration

    -
    -

    Swift

    -
    public var fileName: String?
    - -
    -
    @@ -200,9 +204,9 @@
  • - - - fileComment + + + size
    @@ -210,19 +214,11 @@
    -

    Comment associated with the entry.

    +

    Undocumented

    -
    -

    Declaration

    -
    -

    Swift

    -
    public var fileComment: String?
    - -
    -
    @@ -230,9 +226,9 @@
  • - - - fileAttributes + + + isDirectory
    @@ -240,19 +236,33 @@
    -

    File or directory attributes related to the file system of archive’s creator.

    +

    Undocumented

    -
    -

    Declaration

    -
    -

    Swift

    -
    public var fileAttributes: UInt32
    - -
    -
    +
    +
    +
  • +
  • +
    + + + + data() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    @@ -266,7 +276,7 @@
  • diff --git a/docs/Protocols/DecompressionAlgorithm.html b/docs/Protocols/DecompressionAlgorithm.html index 2f0fcecf..d9edaa85 100644 --- a/docs/Protocols/DecompressionAlgorithm.html +++ b/docs/Protocols/DecompressionAlgorithm.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -206,7 +224,7 @@ diff --git a/docs/Structs.html b/docs/Structs.html index 9cdd6eaa..755e680d 100644 --- a/docs/Structs.html +++ b/docs/Structs.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -67,12 +67,24 @@

    + + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -186,42 +204,7 @@ - - - - - -
    -
      -
    • -
      - - - - ZipEntry - -
      -
      -
      -
      -
      -
      -

      Represents either a file or directory entry inside ZIP archive.

      - - See more -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public struct ZipEntry
      - -
      -
      -
      @@ -256,7 +239,7 @@
    @@ -270,7 +253,7 @@ diff --git a/docs/Structs/GzipHeader.html b/docs/Structs/GzipHeader.html index 35889f32..80379478 100644 --- a/docs/Structs/GzipHeader.html +++ b/docs/Structs/GzipHeader.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -193,7 +211,7 @@ @@ -224,7 +242,7 @@ @@ -254,28 +272,17 @@ - - -
    - -
    • @@ -283,19 +290,19 @@
      -

      The most recent modification time of the original file.

      +

      The most recent modification time of the original file. If set to 0 (default value == unset), then nil.

      Declaration

      Swift

      -
      public let modificationTime: Date
      +
      public let modificationTime: Date?
      @@ -325,7 +332,7 @@
    @@ -355,7 +362,7 @@ @@ -385,7 +392,7 @@ @@ -435,7 +442,6 @@ it might not be compressed with gzip at all.

    Data compressed with gzip.

    -
    @@ -443,7 +449,7 @@ it might not be compressed with gzip at all.

    @@ -457,7 +463,7 @@ it might not be compressed with gzip at all.

    diff --git a/docs/Structs/GzipHeader/CompressionMethod.html b/docs/Structs/GzipHeader/CompressionMethod.html index 3016c2c0..a75c1923 100644 --- a/docs/Structs/GzipHeader/CompressionMethod.html +++ b/docs/Structs/GzipHeader/CompressionMethod.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -206,7 +224,7 @@ diff --git a/docs/Structs/GzipHeader/FileSystemType.html b/docs/Structs/GzipHeader/FileSystemType.html index 5f731f1b..e8814fed 100644 --- a/docs/Structs/GzipHeader/FileSystemType.html +++ b/docs/Structs/GzipHeader/FileSystemType.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -226,7 +244,7 @@ @@ -260,7 +278,7 @@ @@ -294,7 +312,7 @@ @@ -328,7 +346,7 @@ @@ -342,7 +360,7 @@ diff --git a/docs/Structs/ZlibHeader.html b/docs/Structs/ZlibHeader.html index 27ae0edc..61a5bf3f 100644 --- a/docs/Structs/ZlibHeader.html +++ b/docs/Structs/ZlibHeader.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -193,7 +211,7 @@ @@ -224,7 +242,7 @@ @@ -254,7 +272,7 @@ @@ -284,7 +302,7 @@ @@ -314,7 +332,7 @@ @@ -364,7 +382,6 @@ it might not be compressed with zlib at all.

    Data compressed with zlib.

    -
    @@ -372,7 +389,7 @@ it might not be compressed with zlib at all.

    @@ -386,7 +403,7 @@ it might not be compressed with zlib at all.

    diff --git a/docs/Structs/ZlibHeader/CompressionLevel.html b/docs/Structs/ZlibHeader/CompressionLevel.html index 8c6e8fbc..f0e28da0 100644 --- a/docs/Structs/ZlibHeader/CompressionLevel.html +++ b/docs/Structs/ZlibHeader/CompressionLevel.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -226,7 +244,7 @@ @@ -260,7 +278,7 @@ @@ -294,7 +312,7 @@ @@ -308,7 +326,7 @@ diff --git a/docs/Structs/ZlibHeader/CompressionMethod.html b/docs/Structs/ZlibHeader/CompressionMethod.html index 8a2bb3d7..c640d261 100644 --- a/docs/Structs/ZlibHeader/CompressionMethod.html +++ b/docs/Structs/ZlibHeader/CompressionMethod.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -206,7 +224,7 @@ diff --git a/docs/badge.svg b/docs/badge.svg index 2606d804..0d836268 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -1 +1 @@ -documentationdocumentation100%100% \ No newline at end of file +documentationdocumentation75%75% \ No newline at end of file diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes.html index a23bc05d..7fa3b6d8 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -67,12 +67,24 @@

    + + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -186,7 +204,7 @@ @@ -221,7 +239,7 @@ @@ -230,6 +248,37 @@
      +
    • +
      + + + + ZipEntry + +
      +
      +
      +
      +
      +
      +

      Represents either a file or directory entry inside ZIP archive.

      + + See more +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public class ZipEntry: ContainerEntry
      + +
      +
      + +
      +
      +
    • @@ -243,7 +292,7 @@
      -

      Provides function to open ZIP archives (containers).

      +

      Provides function which opens ZIP archives (containers).

      See more
      @@ -251,12 +300,12 @@

      Declaration

      Swift

      -
      public class ZipContainer
      +
      public class ZipContainer: Container
    @@ -291,7 +340,7 @@ @@ -326,7 +375,7 @@ @@ -361,7 +410,7 @@ @@ -396,7 +445,73 @@ + + + + + +
    +
      +
    • +
      + + + + TarEntry + +
      +
      +
      +
      +
      +
      +

      Represents either a file or directory entry inside TAR archive.

      + + See more +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public class TarEntry: ContainerEntry
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + TarContainer + +
      +
      +
      +
      +
      +
      +

      Provides function which opens TAR archives (containers).

      + + See more +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public class TarContainer: Container
      + +
      +
      +
      @@ -431,7 +546,7 @@
    @@ -445,7 +560,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/BZip2.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/BZip2.html index 67a9d601..391621e7 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/BZip2.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/BZip2.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -212,7 +230,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Data compressed with BZip2.

    -
    @@ -222,10 +239,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Return Value

    Decompressed data.

    -
    @@ -239,7 +255,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/Deflate.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/Deflate.html index dbb7637a..48b672aa 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/Deflate.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/Deflate.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -212,7 +230,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Data compressed with DEFLATE.

    -
    @@ -222,10 +239,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Return Value

    Decompressed data.

    -
    @@ -265,7 +281,7 @@ static Huffman is used in all other cases. @@ -279,7 +295,7 @@ static Huffman is used in all other cases. diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive.html index 789b7b12..dd78db7f 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -219,7 +237,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Data compressed with gzip.

    -
    @@ -229,10 +246,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Return Value

    Unarchived data.

    -
    @@ -289,7 +305,6 @@ It will be also specified that the compressor used slowest DEFLATE algorithm.

    Data to compress and archive.

    -
    @@ -299,10 +314,9 @@ It will be also specified that the compressor used slowest DEFLATE algorithm.

    Return Value

    Data object with resulting archive.

    - @@ -316,7 +330,7 @@ It will be also specified that the compressor used slowest DEFLATE algorithm.

    diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA.html index da30ab7b..7810dc32 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -212,7 +230,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Data compressed with LZMA.

    -
    @@ -222,10 +239,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Return Value

    Decompressed data.

    -
    @@ -239,7 +255,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA2.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA2.html index 01f74f7d..644475ed 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA2.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA2.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -212,7 +230,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Data compressed with LZMA2.

    -
    @@ -222,10 +239,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Return Value

    Decompressed data.

    -
    @@ -239,7 +255,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarContainer.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarContainer.html new file mode 100644 index 00000000..bbf3179b --- /dev/null +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarContainer.html @@ -0,0 +1,231 @@ + + + + TarContainer Class Reference + + + + + + + + + + + + + + + + +
    +

    + + SWCompression Docs + + (75% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    TarContainer

    +
    +
    +
    public class TarContainer: Container
    + +
    +
    +

    Provides function which opens TAR archives (containers).

    + +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry.html new file mode 100644 index 00000000..89fdeeba --- /dev/null +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry.html @@ -0,0 +1,718 @@ + + + + TarEntry Class Reference + + + + + + + + + + + + + + + + +
    +

    + + SWCompression Docs + + (75% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    TarEntry

    +
    +
    +
    public class TarEntry: ContainerEntry
    + +
    +
    +

    Represents either a file or directory entry inside TAR archive.

    + +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry/EntryType.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry/EntryType.html new file mode 100644 index 00000000..5a40df63 --- /dev/null +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry/EntryType.html @@ -0,0 +1,477 @@ + + + + EntryType Enum Reference + + + + + + + + + + + + + + + + +
    +

    + + SWCompression Docs + + (75% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    EntryType

    +

    Undocumented

    + +
    +
    + +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/XZArchive.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/XZArchive.html index 3515e5fb..34de8365 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/XZArchive.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/XZArchive.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -183,7 +201,7 @@

    Unarchives xz archive stored in archiveData.

    If data passed is not actually a xz archive, XZError will be thrown. -If filters other than LZMA2 are used in archive then XZError.WrongFilterID will be thrown.

    +If filters other than LZMA2 are used in archive then XZError.wrongFilterID will be thrown.

    If data inside the archive is not actually compressed with LZMA2, LZMAError or LZMA2Error will be thrown.

    @@ -216,7 +234,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Data compressed with xz.

    -
    @@ -226,10 +243,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Return Value

    Unarchived data.

    -
    @@ -243,7 +259,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipContainer.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipContainer.html index 22fe4dce..cd31f8ff 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipContainer.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipContainer.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -154,11 +172,11 @@

    ZipContainer

    -
    public class ZipContainer
    +
    public class ZipContainer: Container
    -

    Provides function to open ZIP archives (containers).

    +

    Provides function which opens ZIP archives (containers).

    @@ -170,177 +188,9 @@
  • - - - entries - -
    -
    -
    -
    -
    -
    -

    All file and directory entries found in ZIP archive (in its Central Directory).

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var entries: [ZipEntry]
    - -
    -
    - -
    -
    -
  • -
  • -
    - - - - init(containerData:) - -
    -
    -
    -
    -
    -
    -

    Tries to open ZIP archive and parse its Central Directory. -If parsing is successful then entries property will contain all directory or file entries found in archive.

    -
    -

    Important

    -

    The order of entries is defined by ZIP archive and, particularly, creator of given ZIP container. -It is likely that directories will be encountered earlier than files stored in those directories, -but one SHOULD NOT assume that this is the case.

    - -
    -
    -

    Note

    -

    Currently, there is no universal (platform and file system independent) method to determine if entry is a directory. -One can check this by looking at the size of entry’s data (it should be 0 for directory) AND -the last character of entry’s name (it should be ‘/’). If all of these is true then entry is likely to be a directory.

    - -
    -
    -

    Note

    -

    Only ZIP containers complying to ISO/IEC 21320-1 standard are supported.

    - -
    -
    -

    Throws

    -

    ZipError or DeflateError depending on the type of inconsistency in data. -It may indicate that either the container is damaged or it might not be ZIP container or compressed with Deflate at all.

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(containerData data: Data) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - containerData - - -
    -

    Data of ZIP container.

    - -
    -
    -
    - -
    -
    -
  • -
  • -
    - - - - data(for:) - -
    -
    -
    -
    -
    -
    -

    Returns data associated with provided ZipEntry.

    -
    -

    Note

    -

    Returned Data object with the size of 0 can either indicate that the entry is an empty file -or it is a directory.

    - -
    -
    -

    Throws

    -

    ZipError or DeflateError depending on the type of inconsistency in data. -An error can indicate that the container is damaged.

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func data(for zipEntry: ZipEntry) throws -> Data
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - zipEntry - - -
    -

    file or directory entry from current container.

    - -
    -
    -
    - -
    -
    -
  • -
  • -
    - - + - open(containerData:) + open(containerData:)
    @@ -348,7 +198,7 @@ An error can indicate that the container is damaged.

    -

    Processes ZIP archive (container) and returns an array of tuples (String, Data). +

    Processes ZIP archive (container) and returns an array of ContainerEntries (which are actually ZipEntries). First member of a tuple is entry’s name, second member is entry’s data.

    Important

    @@ -363,16 +213,12 @@ but one SHOULD NOT assume that this is the case.

    One can check this by looking at the size of entry’s data (it should be 0 for directory) AND the last character of entry’s name (it should be ‘/’). If all of these is true then entry is likely to be a directory.

    -
    -
    -

    Note

    -

    Only ZIP containers complying to ISO/IEC 21320-1 standard are supported.

    -

    Throws

    -

    ZipError or DeflateError depending on the type of inconsistency in data. -It may indicate that either the container is damaged or it might not be ZIP container or compressed with Deflate at all.

    +

    ZipError or any other error associated with compression type, +depending on the type of inconsistency in data. +It may indicate that either the container is damaged or it might not be ZIP container at all.

    @@ -381,7 +227,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont

    Declaration

    Swift

    -
    public static func open(containerData data: Data) throws -> [(entryName: String, entryData: Data)]
    +
    public static func open(containerData: Data) throws -> [ContainerEntry]
    @@ -398,7 +244,6 @@ It may indicate that either the container is damaged or it might not be ZIP cont

    Data of ZIP container.

    -
    @@ -407,11 +252,10 @@ It may indicate that either the container is damaged or it might not be ZIP cont

    Return Value

    -

    Array of pairs (tuples) where first member is entryName and second member is entryData.

    - +

    Array of pairs ZipEntries as an array of ContainerEntries.

    @@ -425,7 +269,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipEntry.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipEntry.html new file mode 100644 index 00000000..a0976478 --- /dev/null +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipEntry.html @@ -0,0 +1,395 @@ + + + + ZipEntry Class Reference + + + + + + + + + + + + + + + + +
    +

    + + SWCompression Docs + + (75% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    ZipEntry

    +
    +
    +
    public class ZipEntry: ContainerEntry
    + +
    +
    +

    Represents either a file or directory entry inside ZIP archive.

    + +
    +
    + +
    +
    +
    +
      +
    • +
      + + + + name + +
      +
      +
      +
      +
      +
      +

      Name of the file or directory.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var name: String
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + comment + +
      +
      +
      +
      +
      +
      +

      Comment associated with the entry.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var comment: String?
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + attributes + +
      +
      +
      +
      +
      +
      +

      File or directory attributes related to the file system of archive’s creator.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var attributes: UInt32
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + size + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public class ZipEntry: ContainerEntry
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + isDirectory + +
      +
      +
      +
      +
      +
      +

      True, if an entry is likely to be a directory. +Particularly, it is true if size of data is 0 and last character of entry’s name is ‘/’.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var isDirectory: Bool
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + data() + +
      +
      +
      +
      +
      +
      +

      Returns data associated with this entry.

      +
      +

      Note

      +

      Returned Data object with the size of 0 can either indicate that the entry is an empty file +or it is a directory.

      + +
      +
      +

      Throws

      +

      ZipError or any other error associated with compression type, +depending on the type of inconsistency in data. +An error can indicate that the container is damaged.

      + +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public func data() throws -> Data
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZlibArchive.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZlibArchive.html index 31976524..c703621d 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZlibArchive.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZlibArchive.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -219,7 +237,6 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Data compressed with zlib.

    -
    @@ -229,10 +246,9 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Return Value

    Unarchived data.

    -
    @@ -287,7 +303,6 @@ It will be specified in archive’s header that the compressor used slowest

    Data to compress and archive.

    -
    @@ -297,10 +312,9 @@ It will be specified in archive’s header that the compressor used slowest

    Return Value

    Data object with resulting archive.

    -
    @@ -314,7 +328,7 @@ It will be specified in archive’s header that the compressor used slowest diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums.html index 8197c768..6766e027 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -67,12 +67,24 @@

    + + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -177,11 +195,11 @@ It may indicate that either the data is damaged or it might not be compressed with LZMA2 at all.

      -
    • WrongProperties: reserved bits of LZMA2 properties byte weren’t zero.
    • -
    • WrongDictionarySize: dictionary size was greater than 2^32.
    • -
    • WrongControlByte: unsupported value of LZMA2 packet’s control byte.
    • -
    • WrongReset: unsupported ‘reset’ value of LZMA2 packet’s.
    • -
    • WrongSizes: size of compressed or decompressed data wasn’t the same as specified in LZMA2 packet.
    • +
    • wrongProperties: reserved bits of LZMA2 properties byte weren’t zero.
    • +
    • wrongDictionarySize: dictionary size was greater than 2^32.
    • +
    • wrongControlByte: unsupported value of LZMA2 packet’s control byte.
    • +
    • wrongReset: unsupported ‘reset’ value of LZMA2 packet’s.
    • +
    • wrongSizes: size of compressed or decompressed data wasn’t the same as specified in LZMA2 packet.
    See more @@ -195,7 +213,7 @@ It may indicate that either the data is damaged or it might not be compressed wi @@ -221,14 +239,14 @@ It may indicate that either the data is damaged or it might not be compressed wi It may indicate that either the data is damaged or it might not be gzip archive at all.

      -
    • WrongMagic: first two bytes of archive were not 31 and 139.
    • -
    • WrongCompressionMethod: unsupported compression method (not 8 aka Deflate).
    • -
    • WrongFlags: unsupported flags (reserved flags weren’t 0).
    • -
    • WrongHeaderCRC: computed Cyclic Redundancy Check of archive’s header +
    • wrongMagic: first two bytes of archive were not 31 and 139.
    • +
    • wrongCompressionMethod: unsupported compression method (not 8 aka Deflate).
    • +
    • wrongFlags: unsupported flags (reserved flags weren’t 0).
    • +
    • wrongHeaderCRC: computed Cyclic Redundancy Check of archive’s header didn’t match the archive’s value.
    • -
    • WrongCRC: computed Cyclic Redundancy Check of uncompressed data didn’t match the archive’s value. +
    • wrongCRC: computed Cyclic Redundancy Check of uncompressed data didn’t match the archive’s value. Associated value contains already decompressed data.
    • -
    • WrongISize: size of uncompressed data modulo 2^32 didn’t match the archive’s value.
    • +
    • wrongISize: size of uncompressed data modulo 2^32 didn’t match the archive’s value.
    See more @@ -242,7 +260,7 @@ Associated value contains already decompressed data. @@ -268,17 +286,17 @@ Associated value contains already decompressed data. It may indicate that either the data is damaged or it might not be ZIP archive (container) at all.

      -
    • NotFoundCentralDirectoryEnd: end of Central Directoty record wasn’t found.
    • -
    • WrongSignature: unsupported signature of one of ZIP container’s structures.
    • -
    • WrongSize: incorrect compressed or uncompressed size of a ZIP container’s entry’s data.
    • -
    • WrongVersion: unsupported number of version needed to extract ZIP container +
    • notFoundCentralDirectoryEnd: end of Central Directoty record wasn’t found.
    • +
    • wrongSignature: unsupported signature of one of ZIP container’s structures.
    • +
    • wrongSize: incorrect compressed or uncompressed size of a ZIP container’s entry’s data.
    • +
    • wrongVersion: unsupported number of version needed to extract ZIP container (unsupported features are required to open this file).
    • -
    • MultiVolumesNotSupported: unsupported feature: multi-volumed or spanned container.
    • -
    • EncryptionNotSupported: unsupported feature: encryption.
    • -
    • PatchingNotSupported: unsupported feature: patched data.
    • -
    • CompressionNotSupported: unsupported feature: specified compression method.
    • -
    • WrongLocalHeader: local header of an entry wasn’t consistent with Central Directory record.
    • -
    • WrongCRC32: computed checksum of entry’s data wasn’t the same as the one stored in container.
    • +
    • multiVolumesNotSupported: unsupported feature: multi-volumed or spanned container.
    • +
    • encryptionNotSupported: unsupported feature: encryption.
    • +
    • patchingNotSupported: unsupported feature: patched data.
    • +
    • compressionNotSupported: unsupported feature: specified compression method.
    • +
    • wrongLocalHeader: local header of an entry wasn’t consistent with Central Directory record.
    • +
    • wrongCRC32: computed checksum of entry’s data wasn’t the same as the one stored in container.
    See more @@ -292,7 +310,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive ( @@ -318,15 +336,15 @@ It may indicate that either the data is damaged or it might not be ZIP archive ( It may indicate that either the data is damaged or it might not be compressed with LZMA at all.

      -
    • WrongProperties: unsupported LZMA properties (greater than 225).
    • -
    • RangeDecoderInitError: unable to initialize RangedDecoder.
    • -
    • ExceededUncompressedSize: the number of uncompressed bytes reached amount specified by archive +
    • wrongProperties: unsupported LZMA properties (greater than 225).
    • +
    • rangeDecoderInitError: unable to initialize RangedDecoder.
    • +
    • exceededUncompressedSize: the number of uncompressed bytes reached amount specified by archive while decoding wasn’t finished.
    • -
    • WindowIsEmpty: unable to repeat bytes because there is nothing to repeat.
    • -
    • RangeDecoderFinishError: range decoder was in a bad state when finish marker was reached.
    • -
    • RepeatWillExceed: unable to repeat bytes because the number of bytes to repeat is greater +
    • windowIsEmpty: unable to repeat bytes because there is nothing to repeat.
    • +
    • rangeDecoderFinishError: range decoder was in a bad state when finish marker was reached.
    • +
    • repeatWillExceed: unable to repeat bytes because the number of bytes to repeat is greater than the amount bytes that is left to decode.
    • -
    • NotEnoughToRepeat: unable to repeat bytes because the amount of already decoded bytes is smaller +
    • notEnoughToRepeat: unable to repeat bytes because the amount of already decoded bytes is smaller than the repeat length.
    @@ -341,7 +359,7 @@ than the repeat length. @@ -367,10 +385,10 @@ than the repeat length. It may indicate that either the data is damaged or it might not be Zlib archive at all.

      -
    • WrongCompressionMethod: unsupported compression method (not 8).
    • -
    • WrongCompressionInfo: unsupported compression info (greater than 7).
    • -
    • WrongFcheck: first two bytes were inconsistent with each other.
    • -
    • WrongCompressionLevel: unsupported compression level (not 0, 1, 2 or 3).
    • +
    • wrongCompressionMethod: unsupported compression method (not 8).
    • +
    • wrongCompressionInfo: unsupported compression info (greater than 7).
    • +
    • wrongFcheck: first two bytes were inconsistent with each other.
    • +
    • wrongCompressionLevel: unsupported compression level (not 0, 1, 2 or 3).
    • WrongAdler32: computed Adler-32 checksum of uncompressed data didn’t match the archive’s value. Associated value contains already decompressed data.
    @@ -386,7 +404,7 @@ Associated value contains already decompressed data. @@ -412,10 +430,10 @@ Associated value contains already decompressed data. It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.

      -
    • WrongUncompressedBlockLengths: length and nlength bytes of uncompressed block were not compatible.
    • -
    • WrongBlockType: unsupported block type (not 0, 1 or 2).
    • -
    • WrongSymbol: unsupported Huffman tree’s symbol.
    • -
    • SymbolNotFound: symbol from input data was not found in Huffman tree.
    • +
    • wrongUncompressedBlockLengths: length and nlength bytes of uncompressed block were not compatible.
    • +
    • wrongBlockType: unsupported block type (not 0, 1 or 2).
    • +
    • wrongSymbol: unsupported Huffman tree’s symbol.
    • +
    • symbolNotFound: symbol from input data was not found in Huffman tree.
    See more @@ -429,7 +447,7 @@ It may indicate that either the data is damaged or it might not be compressed wi @@ -455,15 +473,16 @@ It may indicate that either the data is damaged or it might not be compressed wi It may indicate that either the data is damaged or it might not be compressed with BZip2 at all.

      -
    • WrongMagic: unsupported magic number (not 0x425a).
    • -
    • WrongCompressionMethod: unsupported compression method (not type ‘h’).
    • -
    • WrongBlockSize: unsupported block size (not ‘0’ — ‘9’).
    • -
    • WrongBlockType: unsupported block type (not ‘pi’ or ‘sqrt(pi)’).
    • -
    • RandomizedBlock: block is randomized; this is not supported.
    • -
    • WrongHuffmanGroups: unsupported number of Huffman tables/groups (not between 2 and 6).
    • -
    • WrongSelector: unsupported selector (greater than total number of Huffman groups).
    • -
    • WrongHuffmanLengthCode: unsupported code for Huffman length (not between 0 and 20).
    • -
    • SymbolNotFound: symbol from input data was not found in Huffman tree.
    • +
    • wrongMagic: unsupported magic number (not 0x425a).
    • +
    • wrongCompressionMethod: unsupported compression method (not type ‘h’).
    • +
    • wrongBlockSize: unsupported block size (not ‘0’ — ‘9’).
    • +
    • wrongBlockType: unsupported block type (not ‘pi’ or ‘sqrt(pi)’).
    • +
    • randomizedBlock: block is randomized; this is not supported.
    • +
    • wrongHuffmanGroups: unsupported number of Huffman tables/groups (not between 2 and 6).
    • +
    • wrongSelector: unsupported selector (greater than total number of Huffman groups).
    • +
    • wrongHuffmanLengthCode: unsupported code for Huffman length (not between 0 and 20).
    • +
    • symbolNotFound: symbol from input data was not found in Huffman tree.
    • +
    • wrongCRC: computed Cyclic Redundancy Check of uncompressed data didn’t match the archive’s value.
    See more @@ -477,7 +496,47 @@ It may indicate that either the data is damaged or it might not be compressed wi + + + + + +
    +
      +
    • +
      + + + + TarError + +
      +
      +
      +
      +
      +
      +

      Error happened during processing TAR archive (container). +It may indicate that either the data is damaged or it might not be TAR archive (container) at all.

      + +
        +
      • error: error description.
      • +
      + + See more +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public enum TarError: Error
      + +
      +
      +
      @@ -503,18 +562,18 @@ It may indicate that either the data is damaged or it might not be compressed wi It may indicate that either the data is damaged or it might not be XZ archive at all.

        -
      • WrongMagic: ‘magic’ bytes in archive’s header or footer weren’t equal to predefined value.
      • -
      • WrongArchiveInfo: incorrect value of one of archive’s special field (in block, index, header or footer).
      • -
      • FieldReservedValue: value of one of archive’s special field +
      • wrongMagic: ‘magic’ bytes in archive’s header or footer weren’t equal to predefined value.
      • +
      • wrongArchiveInfo: incorrect value of one of archive’s special field (in block, index, header or footer).
      • +
      • fieldReservedValue: value of one of archive’s special field (in block, index, header or footer) had reserved value.
      • -
      • WrongInfoCRC: incorrect value of one of archive’s special field (in block, index, header or footer).
      • -
      • WrongFilterID: unsupported value of filter ID (not LZMA2’s 0x21).
      • -
      • CheckTypeSHA256: checksum’s type was SHA-256.
      • -
      • WrongDataSize: size of compressed or decompressed data wasn’t the same as specified in block.
      • -
      • WrongCheck: computed checksum of uncompressed data didn’t match the archive’s value. +
      • wrongInfoCRC: incorrect value of one of archive’s special field (in block, index, header or footer).
      • +
      • wrongFilterID: unsupported value of filter ID (not LZMA2’s 0x21).
      • +
      • checkTypeSHA256: checksum’s type was SHA-256.
      • +
      • wrongDataSize: size of compressed or decompressed data wasn’t the same as specified in block.
      • +
      • wrongCheck: computed checksum of uncompressed data didn’t match the archive’s value. Associated value contains already decompressed data.
      • -
      • WrongPadding: unsupported padding of one of structures in the archive.
      • -
      • MultiByteIntegerError: error happened during reading of one of so called ‘multi-byte’ numbers.
      • +
      • wrongPadding: unsupported padding of one of structures in the archive.
      • +
      • multiByteIntegerError: error happened during reading of one of so called ‘multi-byte’ numbers.
      See more @@ -528,7 +587,7 @@ Associated value contains already decompressed data.
    @@ -542,7 +601,7 @@ Associated value contains already decompressed data. diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/BZip2Error.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/BZip2Error.html index 66c7c342..319fa64d 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/BZip2Error.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/BZip2Error.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,15 +180,16 @@ It may indicate that either the data is damaged or it might not be compressed with BZip2 at all.

      -
    • WrongMagic: unsupported magic number (not 0x425a).
    • -
    • WrongCompressionMethod: unsupported compression method (not type ‘h’).
    • -
    • WrongBlockSize: unsupported block size (not ‘0’ — ‘9’).
    • -
    • WrongBlockType: unsupported block type (not ‘pi’ or ‘sqrt(pi)’).
    • -
    • RandomizedBlock: block is randomized; this is not supported.
    • -
    • WrongHuffmanGroups: unsupported number of Huffman tables/groups (not between 2 and 6).
    • -
    • WrongSelector: unsupported selector (greater than total number of Huffman groups).
    • -
    • WrongHuffmanLengthCode: unsupported code for Huffman length (not between 0 and 20).
    • -
    • SymbolNotFound: symbol from input data was not found in Huffman tree.
    • +
    • wrongMagic: unsupported magic number (not 0x425a).
    • +
    • wrongCompressionMethod: unsupported compression method (not type ‘h’).
    • +
    • wrongBlockSize: unsupported block size (not ‘0’ — ‘9’).
    • +
    • wrongBlockType: unsupported block type (not ‘pi’ or ‘sqrt(pi)’).
    • +
    • randomizedBlock: block is randomized; this is not supported.
    • +
    • wrongHuffmanGroups: unsupported number of Huffman tables/groups (not between 2 and 6).
    • +
    • wrongSelector: unsupported selector (greater than total number of Huffman groups).
    • +
    • wrongHuffmanLengthCode: unsupported code for Huffman length (not between 0 and 20).
    • +
    • symbolNotFound: symbol from input data was not found in Huffman tree.
    • +
    • wrongCRC: computed Cyclic Redundancy Check of uncompressed data didn’t match the archive’s value.
    @@ -183,9 +202,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongMagic + + + wrongMagic
    @@ -200,12 +219,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongMagic
    +
    case wrongMagic
    @@ -217,9 +236,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongCompressionMethod + + + wrongCompressionMethod
    @@ -234,12 +253,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongCompressionMethod
    +
    case wrongCompressionMethod
    @@ -251,9 +270,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongBlockSize + + + wrongBlockSize
    @@ -268,12 +287,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongBlockSize
    +
    case wrongBlockSize
    @@ -285,9 +304,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongBlockType + + + wrongBlockType
    @@ -302,12 +321,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongBlockType
    +
    case wrongBlockType
    @@ -319,9 +338,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - RandomizedBlock + + + randomizedBlock
    @@ -336,12 +355,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case RandomizedBlock
    +
    case randomizedBlock
    @@ -353,9 +372,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongHuffmanGroups + + + wrongHuffmanGroups
    @@ -370,12 +389,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongHuffmanGroups
    +
    case wrongHuffmanGroups
    @@ -387,9 +406,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongSelector + + + wrongSelector
    @@ -404,12 +423,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongSelector
    +
    case wrongSelector
    @@ -421,9 +440,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongHuffmanLengthCode + + + wrongHuffmanLengthCode
    @@ -438,12 +457,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongHuffmanLengthCode
    +
    case wrongHuffmanLengthCode
    @@ -455,9 +474,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - SymbolNotFound + + + symbolNotFound
    @@ -472,12 +491,47 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case SymbolNotFound
    +
    case symbolNotFound
    + + +
  • + + +
    +
      +
    • +
      + + + + wrongCRC + +
      +
      +
      +
      +
      +
      +

      Computed CRC of uncompressed data didn’t match the value stored in the archive. +Associated value contains already decompressed data.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      case wrongCRC(Data)
      + +
      +
      +
      @@ -491,7 +545,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
    diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/DeflateError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/DeflateError.html index 61ac45e6..e7ebdcf9 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/DeflateError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/DeflateError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,10 +180,10 @@ It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.

      -
    • WrongUncompressedBlockLengths: length and nlength bytes of uncompressed block were not compatible.
    • -
    • WrongBlockType: unsupported block type (not 0, 1 or 2).
    • -
    • WrongSymbol: unsupported Huffman tree’s symbol.
    • -
    • SymbolNotFound: symbol from input data was not found in Huffman tree.
    • +
    • wrongUncompressedBlockLengths: length and nlength bytes of uncompressed block were not compatible.
    • +
    • wrongBlockType: unsupported block type (not 0, 1 or 2).
    • +
    • wrongSymbol: unsupported Huffman tree’s symbol.
    • +
    • symbolNotFound: symbol from input data was not found in Huffman tree.
    @@ -178,9 +196,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongUncompressedBlockLengths + + + wrongUncompressedBlockLengths
    @@ -195,12 +213,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongUncompressedBlockLengths
    +
    case wrongUncompressedBlockLengths
    @@ -212,9 +230,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongBlockType + + + wrongBlockType
    @@ -229,12 +247,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongBlockType
    +
    case wrongBlockType
    @@ -246,9 +264,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongSymbol + + + wrongSymbol
    @@ -263,12 +281,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongSymbol
    +
    case wrongSymbol
    @@ -280,9 +298,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - SymbolNotFound + + + symbolNotFound
    @@ -297,12 +315,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case SymbolNotFound
    +
    case symbolNotFound
    @@ -316,7 +334,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/GzipError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/GzipError.html index 3ef9f7c0..54abc734 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/GzipError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/GzipError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,14 +180,14 @@ It may indicate that either the data is damaged or it might not be gzip archive at all.

      -
    • WrongMagic: first two bytes of archive were not 31 and 139.
    • -
    • WrongCompressionMethod: unsupported compression method (not 8 aka Deflate).
    • -
    • WrongFlags: unsupported flags (reserved flags weren’t 0).
    • -
    • WrongHeaderCRC: computed Cyclic Redundancy Check of archive’s header +
    • wrongMagic: first two bytes of archive were not 31 and 139.
    • +
    • wrongCompressionMethod: unsupported compression method (not 8 aka Deflate).
    • +
    • wrongFlags: unsupported flags (reserved flags weren’t 0).
    • +
    • wrongHeaderCRC: computed Cyclic Redundancy Check of archive’s header didn’t match the archive’s value.
    • -
    • WrongCRC: computed Cyclic Redundancy Check of uncompressed data didn’t match the archive’s value. +
    • wrongCRC: computed Cyclic Redundancy Check of uncompressed data didn’t match the archive’s value. Associated value contains already decompressed data.
    • -
    • WrongISize: size of uncompressed data modulo 2^32 didn’t match the archive’s value.
    • +
    • wrongISize: size of uncompressed data modulo 2^32 didn’t match the archive’s value.
    @@ -182,9 +200,9 @@ Associated value contains already decompressed data.
  • - - - WrongMagic + + + wrongMagic
    @@ -199,12 +217,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongMagic
    +
    case wrongMagic
    @@ -216,9 +234,9 @@ Associated value contains already decompressed data.
  • - - - WrongCompressionMethod + + + wrongCompressionMethod
    @@ -233,12 +251,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongCompressionMethod
    +
    case wrongCompressionMethod
    @@ -250,9 +268,9 @@ Associated value contains already decompressed data.
  • - - - WrongFlags + + + wrongFlags
    @@ -267,12 +285,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongFlags
    +
    case wrongFlags
    @@ -284,9 +302,9 @@ Associated value contains already decompressed data.
  • - - - WrongHeaderCRC + + + wrongHeaderCRC
    @@ -301,12 +319,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongHeaderCRC
    +
    case wrongHeaderCRC
    @@ -318,9 +336,9 @@ Associated value contains already decompressed data.
  • - - - WrongCRC + + + wrongCRC
    @@ -336,12 +354,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongCRC(Data)
    +
    case wrongCRC(Data)
    @@ -353,9 +371,9 @@ Associated value contains already decompressed data.

  • - - - WrongISize + + + wrongISize
    @@ -370,12 +388,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongISize
    +
    case wrongISize
    @@ -389,7 +407,7 @@ Associated value contains already decompressed data.

    diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMA2Error.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMA2Error.html index 065a19f3..efead898 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMA2Error.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMA2Error.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,11 +180,11 @@ It may indicate that either the data is damaged or it might not be compressed with LZMA2 at all.

      -
    • WrongProperties: reserved bits of LZMA2 properties byte weren’t zero.
    • -
    • WrongDictionarySize: dictionary size was greater than 2^32.
    • -
    • WrongControlByte: unsupported value of LZMA2 packet’s control byte.
    • -
    • WrongReset: unsupported ‘reset’ value of LZMA2 packet’s.
    • -
    • WrongSizes: size of compressed or decompressed data wasn’t the same as specified in LZMA2 packet.
    • +
    • wrongProperties: reserved bits of LZMA2 properties byte weren’t zero.
    • +
    • wrongDictionarySize: dictionary size was greater than 2^32.
    • +
    • wrongControlByte: unsupported value of LZMA2 packet’s control byte.
    • +
    • wrongReset: unsupported ‘reset’ value of LZMA2 packet’s.
    • +
    • wrongSizes: size of compressed or decompressed data wasn’t the same as specified in LZMA2 packet.
    @@ -179,9 +197,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongProperties + + + wrongProperties
    @@ -196,12 +214,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongProperties
    +
    case wrongProperties
    @@ -213,9 +231,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongDictionarySize + + + wrongDictionarySize
    @@ -230,12 +248,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongDictionarySize
    +
    case wrongDictionarySize
    @@ -247,9 +265,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongControlByte + + + wrongControlByte
    @@ -264,12 +282,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongControlByte
    +
    case wrongControlByte
    @@ -281,9 +299,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongReset + + + wrongReset
    @@ -298,12 +316,12 @@ It may indicate that either the data is damaged or it might not be compressed wi

    Declaration

    Swift

    -
    case WrongReset
    +
    case wrongReset
    @@ -315,9 +333,9 @@ It may indicate that either the data is damaged or it might not be compressed wi
  • - - - WrongSizes + + + wrongSizes
    @@ -333,12 +351,12 @@ amount of compressed data read was different from the one stored in LZMA2 packet

    Declaration

    Swift

    -
    case WrongSizes
    +
    case wrongSizes
    @@ -352,7 +370,7 @@ amount of compressed data read was different from the one stored in LZMA2 packet diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMAError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMAError.html index 98354d8c..3aed164a 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMAError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMAError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,15 +180,15 @@ It may indicate that either the data is damaged or it might not be compressed with LZMA at all.

      -
    • WrongProperties: unsupported LZMA properties (greater than 225).
    • -
    • RangeDecoderInitError: unable to initialize RangedDecoder.
    • -
    • ExceededUncompressedSize: the number of uncompressed bytes reached amount specified by archive +
    • wrongProperties: unsupported LZMA properties (greater than 225).
    • +
    • rangeDecoderInitError: unable to initialize RangedDecoder.
    • +
    • exceededUncompressedSize: the number of uncompressed bytes reached amount specified by archive while decoding wasn’t finished.
    • -
    • WindowIsEmpty: unable to repeat bytes because there is nothing to repeat.
    • -
    • RangeDecoderFinishError: range decoder was in a bad state when finish marker was reached.
    • -
    • RepeatWillExceed: unable to repeat bytes because the number of bytes to repeat is greater +
    • windowIsEmpty: unable to repeat bytes because there is nothing to repeat.
    • +
    • rangeDecoderFinishError: range decoder was in a bad state when finish marker was reached.
    • +
    • repeatWillExceed: unable to repeat bytes because the number of bytes to repeat is greater than the amount bytes that is left to decode.
    • -
    • NotEnoughToRepeat: unable to repeat bytes because the amount of already decoded bytes is smaller +
    • notEnoughToRepeat: unable to repeat bytes because the amount of already decoded bytes is smaller than the repeat length.
    @@ -184,9 +202,9 @@ than the repeat length.
  • - - - WrongProperties + + + wrongProperties
    @@ -201,12 +219,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case WrongProperties
    +
    case wrongProperties
    @@ -218,9 +236,9 @@ than the repeat length.
  • - - - RangeDecoderInitError + + + rangeDecoderInitError
    @@ -235,12 +253,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case RangeDecoderInitError
    +
    case rangeDecoderInitError
    @@ -252,9 +270,9 @@ than the repeat length.
  • - - - ExceededUncompressedSize + + + exceededUncompressedSize
    @@ -269,12 +287,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case ExceededUncompressedSize
    +
    case exceededUncompressedSize
    @@ -286,9 +304,9 @@ than the repeat length.
  • - - - WindowIsEmpty + + + windowIsEmpty
    @@ -303,12 +321,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case WindowIsEmpty
    +
    case windowIsEmpty
    @@ -320,9 +338,9 @@ than the repeat length.
  • - - - RangeDecoderFinishError + + + rangeDecoderFinishError
    @@ -337,12 +355,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case RangeDecoderFinishError
    +
    case rangeDecoderFinishError
    @@ -354,9 +372,9 @@ than the repeat length.
  • - - - RepeatWillExceed + + + repeatWillExceed
    @@ -371,12 +389,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case RepeatWillExceed
    +
    case repeatWillExceed
    @@ -388,9 +406,9 @@ than the repeat length.
  • - - - NotEnoughToRepeat + + + notEnoughToRepeat
    @@ -405,12 +423,12 @@ than the repeat length.
  • Declaration

    Swift

    -
    case NotEnoughToRepeat
    +
    case notEnoughToRepeat
    @@ -424,7 +442,7 @@ than the repeat length. diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/TarError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/TarError.html new file mode 100644 index 00000000..ed839fb6 --- /dev/null +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/TarError.html @@ -0,0 +1,372 @@ + + + + TarError Enum Reference + + + + + + + + + + + + + + + + +
    +

    + + SWCompression Docs + + (75% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    TarError

    +
    +
    +
    public enum TarError: Error
    + +
    +
    +

    Error happened during processing TAR archive (container). +It may indicate that either the data is damaged or it might not be TAR archive (container) at all.

    + +
      +
    • error: error description.
    • +
    + +
    +
    + +
    +
    +
    + +
    +
    +
      +
    • +
      + + + + fieldIsNotNumber + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public enum TarError: Error
      + +
      +
      + +
      +
      +
    • +
    +
    +
    + +
    +
    +
      +
    • +
      + + + + wrongUstarVersion + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public enum TarError: Error
      + +
      +
      + +
      +
      +
    • +
    +
    +
    + +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/XZError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/XZError.html index 93be1260..13fff32d 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/XZError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/XZError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,18 +180,18 @@ It may indicate that either the data is damaged or it might not be XZ archive at all.

      -
    • WrongMagic: ‘magic’ bytes in archive’s header or footer weren’t equal to predefined value.
    • -
    • WrongArchiveInfo: incorrect value of one of archive’s special field (in block, index, header or footer).
    • -
    • FieldReservedValue: value of one of archive’s special field +
    • wrongMagic: ‘magic’ bytes in archive’s header or footer weren’t equal to predefined value.
    • +
    • wrongArchiveInfo: incorrect value of one of archive’s special field (in block, index, header or footer).
    • +
    • fieldReservedValue: value of one of archive’s special field (in block, index, header or footer) had reserved value.
    • -
    • WrongInfoCRC: incorrect value of one of archive’s special field (in block, index, header or footer).
    • -
    • WrongFilterID: unsupported value of filter ID (not LZMA2’s 0x21).
    • -
    • CheckTypeSHA256: checksum’s type was SHA-256.
    • -
    • WrongDataSize: size of compressed or decompressed data wasn’t the same as specified in block.
    • -
    • WrongCheck: computed checksum of uncompressed data didn’t match the archive’s value. +
    • wrongInfoCRC: incorrect value of one of archive’s special field (in block, index, header or footer).
    • +
    • wrongFilterID: unsupported value of filter ID (not LZMA2’s 0x21).
    • +
    • checkTypeSHA256: checksum’s type was SHA-256.
    • +
    • wrongDataSize: size of compressed or decompressed data wasn’t the same as specified in block.
    • +
    • wrongCheck: computed checksum of uncompressed data didn’t match the archive’s value. Associated value contains already decompressed data.
    • -
    • WrongPadding: unsupported padding of one of structures in the archive.
    • -
    • MultiByteIntegerError: error happened during reading of one of so called ‘multi-byte’ numbers.
    • +
    • wrongPadding: unsupported padding of one of structures in the archive.
    • +
    • multiByteIntegerError: error happened during reading of one of so called ‘multi-byte’ numbers.
    @@ -186,9 +204,9 @@ Associated value contains already decompressed data.
  • - - - WrongMagic + + + wrongMagic
    @@ -203,12 +221,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongMagic
    +
    case wrongMagic
    @@ -220,9 +238,9 @@ Associated value contains already decompressed data.
  • - - - WrongArchiveInfo + + + wrongArchiveInfo
    @@ -237,12 +255,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongArchiveInfo
    +
    case wrongArchiveInfo
    @@ -254,9 +272,9 @@ Associated value contains already decompressed data.
  • - - - FieldReservedValue + + + fieldReservedValue
    @@ -271,12 +289,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case FieldReservedValue
    +
    case fieldReservedValue
    @@ -288,9 +306,9 @@ Associated value contains already decompressed data.
  • - - - WrongInfoCRC + + + wrongInfoCRC
    @@ -305,12 +323,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongInfoCRC
    +
    case wrongInfoCRC
    @@ -322,9 +340,9 @@ Associated value contains already decompressed data.
  • - - - WrongFilterID + + + wrongFilterID
    @@ -339,12 +357,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongFilterID
    +
    case wrongFilterID
    @@ -356,9 +374,9 @@ Associated value contains already decompressed data.
  • - - - CheckTypeSHA256 + + + checkTypeSHA256
    @@ -373,12 +391,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case CheckTypeSHA256
    +
    case checkTypeSHA256
    @@ -390,9 +408,9 @@ Associated value contains already decompressed data.
  • - - - WrongDataSize + + + wrongDataSize
    @@ -408,12 +426,12 @@ amount of compressed data read was different from the one stored in block header

    Declaration

    Swift

    -
    case WrongDataSize
    +
    case wrongDataSize
    @@ -425,9 +443,9 @@ amount of compressed data read was different from the one stored in block header
  • - - - WrongCheck + + + wrongCheck
    @@ -443,12 +461,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongCheck(Data)
    +
    case wrongCheck(Data)
    @@ -460,9 +478,9 @@ Associated value contains already decompressed data.

  • - - - WrongPadding + + + wrongPadding
    @@ -477,12 +495,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongPadding
    +
    case wrongPadding
    @@ -494,9 +512,9 @@ Associated value contains already decompressed data.

  • - - - MultiByteIntegerError + + + multiByteIntegerError
    @@ -511,12 +529,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case MultiByteIntegerError
    +
    case multiByteIntegerError
    @@ -530,7 +548,7 @@ Associated value contains already decompressed data.

    diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZipError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZipError.html index 40111133..047dfc95 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZipError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZipError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,17 +180,17 @@ It may indicate that either the data is damaged or it might not be ZIP archive (container) at all.

      -
    • NotFoundCentralDirectoryEnd: end of Central Directoty record wasn’t found.
    • -
    • WrongSignature: unsupported signature of one of ZIP container’s structures.
    • -
    • WrongSize: incorrect compressed or uncompressed size of a ZIP container’s entry’s data.
    • -
    • WrongVersion: unsupported number of version needed to extract ZIP container +
    • notFoundCentralDirectoryEnd: end of Central Directoty record wasn’t found.
    • +
    • wrongSignature: unsupported signature of one of ZIP container’s structures.
    • +
    • wrongSize: incorrect compressed or uncompressed size of a ZIP container’s entry’s data.
    • +
    • wrongVersion: unsupported number of version needed to extract ZIP container (unsupported features are required to open this file).
    • -
    • MultiVolumesNotSupported: unsupported feature: multi-volumed or spanned container.
    • -
    • EncryptionNotSupported: unsupported feature: encryption.
    • -
    • PatchingNotSupported: unsupported feature: patched data.
    • -
    • CompressionNotSupported: unsupported feature: specified compression method.
    • -
    • WrongLocalHeader: local header of an entry wasn’t consistent with Central Directory record.
    • -
    • WrongCRC32: computed checksum of entry’s data wasn’t the same as the one stored in container.
    • +
    • multiVolumesNotSupported: unsupported feature: multi-volumed or spanned container.
    • +
    • encryptionNotSupported: unsupported feature: encryption.
    • +
    • patchingNotSupported: unsupported feature: patched data.
    • +
    • compressionNotSupported: unsupported feature: specified compression method.
    • +
    • wrongLocalHeader: local header of an entry wasn’t consistent with Central Directory record.
    • +
    • wrongCRC32: computed checksum of entry’s data wasn’t the same as the one stored in container.
    @@ -185,9 +203,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - NotFoundCentralDirectoryEnd + + + notFoundCentralDirectoryEnd
    @@ -202,12 +220,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case NotFoundCentralDirectoryEnd
    +
    case notFoundCentralDirectoryEnd
    @@ -219,9 +237,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongSignature + + + wrongSignature
    @@ -236,12 +254,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case WrongSignature
    +
    case wrongSignature
    @@ -253,9 +271,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongSize + + + wrongSize
    @@ -270,12 +288,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case WrongSize
    +
    case wrongSize
    @@ -287,9 +305,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongVersion + + + wrongVersion
    @@ -304,12 +322,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case WrongVersion
    +
    case wrongVersion
    @@ -321,9 +339,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - MultiVolumesNotSupported + + + multiVolumesNotSupported
    @@ -338,12 +356,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case MultiVolumesNotSupported
    +
    case multiVolumesNotSupported
    @@ -355,9 +373,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - EncryptionNotSupported + + + encryptionNotSupported
    @@ -372,12 +390,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case EncryptionNotSupported
    +
    case encryptionNotSupported
    @@ -389,9 +407,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - PatchingNotSupported + + + patchingNotSupported
    @@ -406,12 +424,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case PatchingNotSupported
    +
    case patchingNotSupported
    @@ -423,9 +441,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - CompressionNotSupported + + + compressionNotSupported
    @@ -440,12 +458,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case CompressionNotSupported
    +
    case compressionNotSupported
    @@ -457,9 +475,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongLocalHeader + + + wrongLocalHeader
    @@ -474,12 +492,12 @@ It may indicate that either the data is damaged or it might not be ZIP archive (

    Declaration

    Swift

    -
    case WrongLocalHeader
    +
    case wrongLocalHeader
    @@ -491,9 +509,9 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
  • - - - WrongCRC32 + + + wrongCRC32
    @@ -501,19 +519,54 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
    -

    Wrong computed CRC32 of an entry.

    +

    Computed CRC32 of entry’s data didn’t match the value stored in the container. +Associated value contains extracted data.

    Declaration

    Swift

    -
    case WrongCRC32
    +
    case wrongCRC32(Data)
    +
    +
    +
  • + + +
    +
      +
    • +
      + + + + wrongTextField + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public enum ZipError: Error
      + +
      +
      +
      @@ -527,7 +580,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
    diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZlibError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZlibError.html index 75630825..665a6523 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZlibError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZlibError.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -162,10 +180,10 @@ It may indicate that either the data is damaged or it might not be Zlib archive at all.

      -
    • WrongCompressionMethod: unsupported compression method (not 8).
    • -
    • WrongCompressionInfo: unsupported compression info (greater than 7).
    • -
    • WrongFcheck: first two bytes were inconsistent with each other.
    • -
    • WrongCompressionLevel: unsupported compression level (not 0, 1, 2 or 3).
    • +
    • wrongCompressionMethod: unsupported compression method (not 8).
    • +
    • wrongCompressionInfo: unsupported compression info (greater than 7).
    • +
    • wrongFcheck: first two bytes were inconsistent with each other.
    • +
    • wrongCompressionLevel: unsupported compression level (not 0, 1, 2 or 3).
    • WrongAdler32: computed Adler-32 checksum of uncompressed data didn’t match the archive’s value. Associated value contains already decompressed data.
    @@ -180,9 +198,9 @@ Associated value contains already decompressed data.
  • - - - WrongCompressionMethod + + + wrongCompressionMethod
    @@ -197,12 +215,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongCompressionMethod
    +
    case wrongCompressionMethod
    @@ -214,9 +232,9 @@ Associated value contains already decompressed data.
  • - - - WrongCompressionInfo + + + wrongCompressionInfo
    @@ -231,12 +249,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongCompressionInfo
    +
    case wrongCompressionInfo
    @@ -248,9 +266,9 @@ Associated value contains already decompressed data.
  • - - - WrongFcheck + + + wrongFcheck
    @@ -265,12 +283,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongFcheck
    +
    case wrongFcheck
    @@ -282,9 +300,9 @@ Associated value contains already decompressed data.
  • - - - WrongCompressionLevel + + + wrongCompressionLevel
    @@ -299,12 +317,12 @@ Associated value contains already decompressed data.
  • Declaration

    Swift

    -
    case WrongCompressionLevel
    +
    case wrongCompressionLevel
    @@ -316,9 +334,9 @@ Associated value contains already decompressed data.
  • - - - WrongAdler32 + + + wrongAdler32
    @@ -334,12 +352,12 @@ Associated value contains already decompressed data.

    Declaration

    Swift

    -
    case WrongAdler32(Data)
    +
    case wrongAdler32(Data)
    @@ -353,7 +371,7 @@ Associated value contains already decompressed data.

    diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols.html index 6ffccfd9..6375a356 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -67,12 +67,24 @@

  • + + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -186,7 +204,7 @@ @@ -217,7 +235,53 @@ + + + +
  • +
    + + + + Container + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    + +
    +
    +
  • +
  • +
    + + + + ContainerEntry + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    @@ -231,7 +295,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Archive.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Archive.html index 46110cdf..04d2e675 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Archive.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Archive.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

  • + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -206,7 +224,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Container.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Container.html new file mode 100644 index 00000000..51bedd79 --- /dev/null +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Container.html @@ -0,0 +1,217 @@ + + + + Container Protocol Reference + + + + + + + + + + + + + + + + +
    +

    + + SWCompression Docs + + (75% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + + +
    + + + + diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZipEntry.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/ContainerEntry.html similarity index 71% rename from docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZipEntry.html rename to docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/ContainerEntry.html index 6a4eb919..83d16939 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZipEntry.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/ContainerEntry.html @@ -1,7 +1,7 @@ - ZipEntry Struct Reference + ContainerEntry Protocol Reference @@ -14,16 +14,16 @@ - + - +

    SWCompression Docs - (100% documented) + (75% documented)

    @@ -44,7 +44,7 @@

    @@ -68,12 +68,24 @@ + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -151,14 +169,8 @@
    -

    ZipEntry

    -
    -
    -
    public struct ZipEntry
    - -
    -
    -

    Represents either a file or directory entry inside ZIP archive.

    +

    ContainerEntry

    +

    Undocumented

    @@ -170,9 +182,9 @@
  • - - - fileName + + + name
    @@ -180,19 +192,11 @@
    -

    Name of the file or directory.

    +

    Undocumented

    -
    -

    Declaration

    -
    -

    Swift

    -
    public var fileName: String?
    - -
    -
    @@ -200,9 +204,9 @@
  • - - - fileComment + + + size
    @@ -210,19 +214,11 @@
    -

    Comment associated with the entry.

    +

    Undocumented

    -
    -

    Declaration

    -
    -

    Swift

    -
    public var fileComment: String?
    - -
    -
    @@ -230,9 +226,9 @@
  • @@ -240,19 +236,33 @@
    -

    File or directory attributes related to the file system of archive’s creator.

    +

    Undocumented

    -
    -

    Declaration

    -
    -

    Swift

    -
    public var fileAttributes: UInt32
    - -
    -
    +
    +
    +
  • +
  • +
    + + + + data() + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    @@ -266,7 +276,7 @@
  • diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/DecompressionAlgorithm.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/DecompressionAlgorithm.html index 2f0fcecf..d9edaa85 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/DecompressionAlgorithm.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/DecompressionAlgorithm.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -206,7 +224,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs.html index 9cdd6eaa..755e680d 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -67,12 +67,24 @@

    + + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -186,42 +204,7 @@ - - - - - -
    -
      -
    • -
      - - - - ZipEntry - -
      -
      -
      -
      -
      -
      -

      Represents either a file or directory entry inside ZIP archive.

      - - See more -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public struct ZipEntry
      - -
      -
      -
      @@ -256,7 +239,7 @@
    @@ -270,7 +253,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader.html index 35889f32..80379478 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -193,7 +211,7 @@ @@ -224,7 +242,7 @@ @@ -254,28 +272,17 @@ - - -
    - -
    • @@ -283,19 +290,19 @@
      -

      The most recent modification time of the original file.

      +

      The most recent modification time of the original file. If set to 0 (default value == unset), then nil.

      Declaration

      Swift

      -
      public let modificationTime: Date
      +
      public let modificationTime: Date?
      @@ -325,7 +332,7 @@
    @@ -355,7 +362,7 @@ @@ -385,7 +392,7 @@ @@ -435,7 +442,6 @@ it might not be compressed with gzip at all.

    Data compressed with gzip.

    -
    @@ -443,7 +449,7 @@ it might not be compressed with gzip at all.

    @@ -457,7 +463,7 @@ it might not be compressed with gzip at all.

    diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/CompressionMethod.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/CompressionMethod.html index 3016c2c0..a75c1923 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/CompressionMethod.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/CompressionMethod.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -206,7 +224,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/FileSystemType.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/FileSystemType.html index 5f731f1b..e8814fed 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/FileSystemType.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/FileSystemType.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -226,7 +244,7 @@ @@ -260,7 +278,7 @@ @@ -294,7 +312,7 @@ @@ -328,7 +346,7 @@ @@ -342,7 +360,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader.html index 27ae0edc..61a5bf3f 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -193,7 +211,7 @@ @@ -224,7 +242,7 @@ @@ -254,7 +272,7 @@ @@ -284,7 +302,7 @@ @@ -314,7 +332,7 @@ @@ -364,7 +382,6 @@ it might not be compressed with zlib at all.

    Data compressed with zlib.

    -
    @@ -372,7 +389,7 @@ it might not be compressed with zlib at all.

    @@ -386,7 +403,7 @@ it might not be compressed with zlib at all.

    diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionLevel.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionLevel.html index 8c6e8fbc..f0e28da0 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionLevel.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionLevel.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -226,7 +244,7 @@ @@ -260,7 +278,7 @@ @@ -294,7 +312,7 @@ @@ -308,7 +326,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionMethod.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionMethod.html index 8a2bb3d7..c640d261 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionMethod.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionMethod.html @@ -23,7 +23,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -68,12 +68,24 @@

    + + + + @@ -97,6 +109,9 @@ + @@ -114,6 +129,12 @@ + + @@ -131,9 +152,6 @@ - @@ -192,7 +210,7 @@ @@ -206,7 +224,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/index.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/index.html index 5061fe7f..2d2a68f9 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/index.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -67,12 +67,24 @@

    + + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -153,8 +171,11 @@

    SWCompression

    -

    GitHub license CocoaPods Swift 3 -Build Status codecov

    +

    GitHub license +CocoaPods +Swift 3 +Build Status +codecov

    CocoaPods Carthage compatible

    @@ -304,7 +325,7 @@ which uses SWCompression for unarchiving several types of archives.

    Why is it so slow?

    Version 2.0 came with a great performance improvement. -Just look at the test results in ‘Tests/Test Result’. +Just look at the Tests Results. So if it’s slow the first thing you should do is to make sure you are using version >= 2.0.

    Is it still slow? @@ -336,6 +357,9 @@ so some difference in speed is expected.

  • .ZIP Application Note
  • ISO/IEC 21320-1
  • List of defined ZIP extra fields
  • +
  • Wikipedia article about TAR
  • +
  • Pax specification
  • +
  • Basic TAR specification
  • @@ -346,7 +370,7 @@ so some difference in speed is expected.

    diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/search.json b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/search.json index 0ffc137c..0812255e 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/search.json +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel16fastestAlgorithmFMS1_S1_":{"name":"fastestAlgorithm","abstract":"

    Fastest algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel13fastAlgorithmFMS1_S1_":{"name":"fastAlgorithm","abstract":"

    Fast algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel16defaultAlgorithmFMS1_S1_":{"name":"defaultAlgorithm","abstract":"

    Default algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel13slowAlgorithmFMS1_S1_":{"name":"slowAlgorithm","abstract":"

    Slowest algorithm but with maximum compression.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionMethod.html#/s:FOV13SWCompression10ZlibHeader17CompressionMethod7deflateFMS1_S1_":{"name":"deflate","abstract":"

    The only one supported compression method (Deflate).

    ","parent_name":"CompressionMethod"},"Structs/ZlibHeader/CompressionMethod.html":{"name":"CompressionMethod","abstract":"

    Supported compression methods in zlib archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader/CompressionLevel.html":{"name":"CompressionLevel","abstract":"

    Levels of compression which can be used to create zlib archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader17compressionMethodOS0_17CompressionMethod":{"name":"compressionMethod","abstract":"

    Compression method of archive. Always equals to .deflate.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader16compressionLevelOS0_16CompressionLevel":{"name":"compressionLevel","abstract":"

    Level of compression in the archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader10windowSizeSi":{"name":"windowSize","abstract":"

    Size of ‘window’: moving interval of data which was used to make the archive

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:FV13SWCompression10ZlibHeadercFzT11archiveDataV10Foundation4Data_S0_":{"name":"init(archiveData:)","abstract":"

    Initializes the structure with the values from zlib archive presented in archiveData.

    ","parent_name":"ZlibHeader"},"Structs/ZipEntry.html#/s:vV13SWCompression8ZipEntry8fileNameGSqSS_":{"name":"fileName","abstract":"

    Name of the file or directory.

    ","parent_name":"ZipEntry"},"Structs/ZipEntry.html#/s:vV13SWCompression8ZipEntry11fileCommentGSqSS_":{"name":"fileComment","abstract":"

    Comment associated with the entry.

    ","parent_name":"ZipEntry"},"Structs/ZipEntry.html#/s:vV13SWCompression8ZipEntry14fileAttributesVs6UInt32":{"name":"fileAttributes","abstract":"

    File or directory attributes related to the file system of archive’s creator.

    ","parent_name":"ZipEntry"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType4unixFMS1_S1_":{"name":"unix","abstract":"

    One of many Linux systems. (It seems like modern macOS systems also fall into this category).

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType9macintoshFMS1_S1_":{"name":"macintosh","abstract":"

    Older Macintosh (Mac OS, OS X) systems.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType4ntfsFMS1_S1_":{"name":"ntfs","abstract":"

    File system used in Microsoft™®© Windows™®©.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType7unknownFMS1_S1_":{"name":"unknown","abstract":"

    File system was unknown to the archiver.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType5otherFMS1_S1_":{"name":"other","abstract":"

    File system was one of the rare systems..

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/CompressionMethod.html#/s:FOV13SWCompression10GzipHeader17CompressionMethod7deflateFMS1_S1_":{"name":"deflate","abstract":"

    The only one supported compression method (Deflate).

    ","parent_name":"CompressionMethod"},"Structs/GzipHeader/CompressionMethod.html":{"name":"CompressionMethod","abstract":"

    Supported compression methods in gzip archive.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader/FileSystemType.html":{"name":"FileSystemType","abstract":"

    Type of file system on which gzip archive was created.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader17compressionMethodOS0_17CompressionMethod":{"name":"compressionMethod","abstract":"

    Compression method of archive. Always equals to .deflate.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader16modificationTimeV10Foundation4Date":{"name":"modificationTime","abstract":"

    The most recent modification time of the original file.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader6osTypeOS0_14FileSystemType":{"name":"osType","abstract":"

    Type of file system on which compression took place.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader16originalFileNameGSqSS_":{"name":"originalFileName","abstract":"

    Name of the original file.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader7commentGSqSS_":{"name":"comment","abstract":"

    Comment inside the archive.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:FV13SWCompression10GzipHeadercFzT11archiveDataV10Foundation4Data_S0_":{"name":"init(archiveData:)","abstract":"

    Initializes the structure with the values of first ‘member’ in gzip archive presented in archiveData.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html":{"name":"GzipHeader","abstract":"

    A structure which provides information about gzip archive.

    "},"Structs/ZipEntry.html":{"name":"ZipEntry","abstract":"

    Represents either a file or directory entry inside ZIP archive.

    "},"Structs/ZlibHeader.html":{"name":"ZlibHeader","abstract":"

    A structure which provides information about zlib archive.

    "},"Protocols/DecompressionAlgorithm.html#/s:ZFP13SWCompression22DecompressionAlgorithm10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Abstract decompress function.

    ","parent_name":"DecompressionAlgorithm"},"Protocols/Archive.html#/s:ZFP13SWCompression7Archive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Abstract unarchive function.

    ","parent_name":"Archive"},"Protocols/Archive.html":{"name":"Archive","abstract":"

    Abstract archive class which supports unarchiving.

    "},"Protocols/DecompressionAlgorithm.html":{"name":"DecompressionAlgorithm","abstract":"

    Abstract decompression algorithm class which supports decompression.

    "},"Enums/XZError.html#/s:FO13SWCompression7XZError10WrongMagicFMS0_S0_":{"name":"WrongMagic","abstract":"

    Either magic number in header or footer was not equal to predefined value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError16WrongArchiveInfoFMS0_S0_":{"name":"WrongArchiveInfo","abstract":"

    One of special fields of archive had an incorrect value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError18FieldReservedValueFMS0_S0_":{"name":"FieldReservedValue","abstract":"

    One of special fields of archive had a reserved value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError12WrongInfoCRCFMS0_S0_":{"name":"WrongInfoCRC","abstract":"

    Checksum of one of special fields of archive was incorrect.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError13WrongFilterIDFMS0_S0_":{"name":"WrongFilterID","abstract":"

    ID of filter(s) used in archvie was unsupported.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError15CheckTypeSHA256FMS0_S0_":{"name":"CheckTypeSHA256","abstract":"

    Type of checksum of archive was SHA-256.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError13WrongDataSizeFMS0_S0_":{"name":"WrongDataSize","abstract":"

    Either size of decompressed data was not equal to specified one in block header or","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError10WrongCheckFMS0_FV10Foundation4DataS0_":{"name":"WrongCheck","abstract":"

    Computed checksum of uncompressed data didn’t match the value stored in the archive.","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError12WrongPaddingFMS0_S0_":{"name":"WrongPadding","abstract":"

    Unsupported padding of a structure in the archive.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError21MultiByteIntegerErrorFMS0_S0_":{"name":"MultiByteIntegerError","abstract":"

    Either null byte encountered or exceeded maximum amount bytes during reading multi byte number.

    ","parent_name":"XZError"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error10WrongMagicFMS0_S0_":{"name":"WrongMagic","abstract":"

    Magic number was not 0x425a.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error22WrongCompressionMethodFMS0_S0_":{"name":"WrongCompressionMethod","abstract":"

    Compression method was not type ‘h’ (not Huffman).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14WrongBlockSizeFMS0_S0_":{"name":"WrongBlockSize","abstract":"

    Unknown block size (not from ‘0’ to ‘9’).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14WrongBlockTypeFMS0_S0_":{"name":"WrongBlockType","abstract":"

    Unknown block type (was neither ‘pi’ nor ‘sqrt(pi)’).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error15RandomizedBlockFMS0_S0_":{"name":"RandomizedBlock","abstract":"

    Block is randomized.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error18WrongHuffmanGroupsFMS0_S0_":{"name":"WrongHuffmanGroups","abstract":"

    Wrong number of Huffman tables/groups (should be between 2 and 6).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error13WrongSelectorFMS0_S0_":{"name":"WrongSelector","abstract":"

    Selector was greater than total number of Huffman tables/groups.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error22WrongHuffmanLengthCodeFMS0_S0_":{"name":"WrongHuffmanLengthCode","abstract":"

    Wrong code of Huffman length (should be between 0 and 20).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14SymbolNotFoundFMS0_S0_":{"name":"SymbolNotFound","abstract":"

    Symbol was not found in Huffman tree.

    ","parent_name":"BZip2Error"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError29WrongUncompressedBlockLengthsFMS0_S0_":{"name":"WrongUncompressedBlockLengths","abstract":"

    Uncompressed block’ length and nlength bytes were not compatible.

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError14WrongBlockTypeFMS0_S0_":{"name":"WrongBlockType","abstract":"

    Unknown block type (not from 0 to 2).

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError11WrongSymbolFMS0_S0_":{"name":"WrongSymbol","abstract":"

    Decoded symbol was found in Huffman tree but is unknown.

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError14SymbolNotFoundFMS0_S0_":{"name":"SymbolNotFound","abstract":"

    Symbol was not found in Huffman tree.

    ","parent_name":"DeflateError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError22WrongCompressionMethodFMS0_S0_":{"name":"WrongCompressionMethod","abstract":"

    Compression method was other than 8 which is the only supported one.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError20WrongCompressionInfoFMS0_S0_":{"name":"WrongCompressionInfo","abstract":"

    Compression info was greater than 7 which is uncompatible number 8 compression method.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError11WrongFcheckFMS0_S0_":{"name":"WrongFcheck","abstract":"

    First two bytes were inconsistent with each other.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError21WrongCompressionLevelFMS0_S0_":{"name":"WrongCompressionLevel","abstract":"

    Compression level was other than 0, 1, 2, 3.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError12WrongAdler32FMS0_FV10Foundation4DataS0_":{"name":"WrongAdler32","abstract":"

    Computed Adler-32 sum of uncompressed data didn’t match the value stored in the archive.","parent_name":"ZlibError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError15WrongPropertiesFMS0_S0_":{"name":"WrongProperties","abstract":"

    Properties byte was greater than 225.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError21RangeDecoderInitErrorFMS0_S0_":{"name":"RangeDecoderInitError","abstract":"

    Unable to initialize RanderDecorer.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError24ExceededUncompressedSizeFMS0_S0_":{"name":"ExceededUncompressedSize","abstract":"

    The number of uncompressed bytes hit limit in the middle of decoding.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError13WindowIsEmptyFMS0_S0_":{"name":"WindowIsEmpty","abstract":"

    Unable to perfrom repeat-distance decoding because there is nothing to repeat.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError23RangeDecoderFinishErrorFMS0_S0_":{"name":"RangeDecoderFinishError","abstract":"

    End of stream marker is reached, but range decoder is in incorrect state.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError16RepeatWillExceedFMS0_S0_":{"name":"RepeatWillExceed","abstract":"

    The number of bytes to repeat is greater than the amount bytes that is left to decode.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError17NotEnoughToRepeatFMS0_S0_":{"name":"NotEnoughToRepeat","abstract":"

    The amount of already decoded bytes is smaller than repeat length.

    ","parent_name":"LZMAError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError27NotFoundCentralDirectoryEndFMS0_S0_":{"name":"NotFoundCentralDirectoryEnd","abstract":"

    End of Central Directoty record was not found.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError14WrongSignatureFMS0_S0_":{"name":"WrongSignature","abstract":"

    Wrong signature of one of ZIP container’s structures.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError9WrongSizeFMS0_S0_":{"name":"WrongSize","abstract":"

    Wrong either compressed or uncompressed size of a ZIP container’s entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError12WrongVersionFMS0_S0_":{"name":"WrongVersion","abstract":"

    Wrong number of version needed to extract ZIP container.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError24MultiVolumesNotSupportedFMS0_S0_":{"name":"MultiVolumesNotSupported","abstract":"

    Archive either spanned or consists of several volumes. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError22EncryptionNotSupportedFMS0_S0_":{"name":"EncryptionNotSupported","abstract":"

    Entry or record is encrypted. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError20PatchingNotSupportedFMS0_S0_":{"name":"PatchingNotSupported","abstract":"

    Entry contains patched data. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError23CompressionNotSupportedFMS0_S0_":{"name":"CompressionNotSupported","abstract":"

    Wrong compression method of an entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError16WrongLocalHeaderFMS0_S0_":{"name":"WrongLocalHeader","abstract":"

    Wrong local header of an entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError10WrongCRC32FMS0_S0_":{"name":"WrongCRC32","abstract":"

    Wrong computed CRC32 of an entry.

    ","parent_name":"ZipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10WrongMagicFMS0_S0_":{"name":"WrongMagic","abstract":"

    First two bytes of archive were not 31 and 139.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError22WrongCompressionMethodFMS0_S0_":{"name":"WrongCompressionMethod","abstract":"

    Compression method was other than 8 which is the only supported one.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10WrongFlagsFMS0_S0_":{"name":"WrongFlags","abstract":"

    Reserved flags bits were not equal to 0.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError14WrongHeaderCRCFMS0_S0_":{"name":"WrongHeaderCRC","abstract":"

    Computed CRC of header didn’t match the value stored in the archive.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError8WrongCRCFMS0_FV10Foundation4DataS0_":{"name":"WrongCRC","abstract":"

    Computed CRC of uncompressed data didn’t match the value stored in the archive.","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10WrongISizeFMS0_S0_":{"name":"WrongISize","abstract":"

    Computed isize didn’t match the value stored in the archive.

    ","parent_name":"GzipError"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error15WrongPropertiesFMS0_S0_":{"name":"WrongProperties","abstract":"

    Reserved bits of LZMA2 properties byte were not equal to zero.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error19WrongDictionarySizeFMS0_S0_":{"name":"WrongDictionarySize","abstract":"

    Dictionary size was too big.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error16WrongControlByteFMS0_S0_":{"name":"WrongControlByte","abstract":"

    Unknown conrol byte value of LZMA2 packet.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error10WrongResetFMS0_S0_":{"name":"WrongReset","abstract":"

    Unknown reset instruction encounetered in LZMA2 packet.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error10WrongSizesFMS0_S0_":{"name":"WrongSizes","abstract":"

    Either size of decompressed data was not equal to specified one in LZMA2 packet or","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html":{"name":"LZMA2Error","abstract":"

    Error happened during LZMA2 decompression."},"Enums/GzipError.html":{"name":"GzipError","abstract":"

    Error happened during unarchiving gzip archive."},"Enums/ZipError.html":{"name":"ZipError","abstract":"

    Error happened during processing ZIP archive (container)."},"Enums/LZMAError.html":{"name":"LZMAError","abstract":"

    Error happened during LZMA decompression."},"Enums/ZlibError.html":{"name":"ZlibError","abstract":"

    Error happened during unarchiving Zlib archive."},"Enums/DeflateError.html":{"name":"DeflateError","abstract":"

    Error happened during deflate decompression."},"Enums/BZip2Error.html":{"name":"BZip2Error","abstract":"

    Error happened during bzip2 decompression."},"Enums/XZError.html":{"name":"XZError","abstract":"

    Error happened during unarchiving XZ archive."},"Classes/XZArchive.html#/s:ZFC13SWCompression9XZArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives xz archive stored in archiveData.

    ","parent_name":"XZArchive"},"Classes/BZip2.html#/s:ZFC13SWCompression5BZip210decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with BZip2 algortihm.

    ","parent_name":"BZip2"},"Classes/Deflate.html#/s:ZFC13SWCompression7Deflate10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with DEFLATE algortihm.

    ","parent_name":"Deflate"},"Classes/Deflate.html#/s:ZFC13SWCompression7Deflate8compressFzT4dataV10Foundation4Data_S2_":{"name":"compress(data:)","abstract":"

    Compresses data with DEFLATE algortihm.

    ","parent_name":"Deflate"},"Classes/ZlibArchive.html#/s:ZFC13SWCompression11ZlibArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives Zlib archive stored in archiveData.

    ","parent_name":"ZlibArchive"},"Classes/ZlibArchive.html#/s:ZFC13SWCompression11ZlibArchive7archiveFzT4dataV10Foundation4Data_S2_":{"name":"archive(data:)","abstract":"

    Archives data into Zlib archive. Data will be also compressed with DEFLTATE algorithm.","parent_name":"ZlibArchive"},"Classes/LZMA.html#/s:ZFC13SWCompression4LZMA10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with LZMA algortihm.

    ","parent_name":"LZMA"},"Classes/ZipContainer.html#/s:vC13SWCompression12ZipContainer7entriesGSaVS_8ZipEntry_":{"name":"entries","abstract":"

    All file and directory entries found in ZIP archive (in its Central Directory).

    ","parent_name":"ZipContainer"},"Classes/ZipContainer.html#/s:FC13SWCompression12ZipContainercFzT13containerDataV10Foundation4Data_S0_":{"name":"init(containerData:)","abstract":"

    Tries to open ZIP archive and parse its Central Directory.","parent_name":"ZipContainer"},"Classes/ZipContainer.html#/s:FC13SWCompression12ZipContainer4dataFzT3forVS_8ZipEntry_V10Foundation4Data":{"name":"data(for:)","abstract":"

    Returns data associated with provided ZipEntry.

    ","parent_name":"ZipContainer"},"Classes/ZipContainer.html#/s:ZFC13SWCompression12ZipContainer4openFzT13containerDataV10Foundation4Data_GSaT9entryNameSS9entryDataS2___":{"name":"open(containerData:)","abstract":"

    Processes ZIP archive (container) and returns an array of tuples (String, Data).","parent_name":"ZipContainer"},"Classes/GzipArchive.html#/s:ZFC13SWCompression11GzipArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives gzip archive stored in archiveData.

    ","parent_name":"GzipArchive"},"Classes/GzipArchive.html#/s:ZFC13SWCompression11GzipArchive7archiveFzT4dataV10Foundation4Data_S2_":{"name":"archive(data:)","abstract":"

    Archives data into GZip archive. Data will be also compressed with DEFLTATE algorithm.","parent_name":"GzipArchive"},"Classes/LZMA2.html#/s:ZFC13SWCompression5LZMA210decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with LZMA2 algortihm. LZMA2 is a modification of LZMA.

    ","parent_name":"LZMA2"},"Classes/LZMA2.html":{"name":"LZMA2","abstract":"

    Provides function to decompress data, which were compressed with LZMA2

    "},"Classes/GzipArchive.html":{"name":"GzipArchive","abstract":"

    Provides unarchive function for GZip archives.

    "},"Classes/ZipContainer.html":{"name":"ZipContainer","abstract":"

    Provides function to open ZIP archives (containers).

    "},"Classes/LZMA.html":{"name":"LZMA","abstract":"

    Provides function to decompress data, which were compressed with LZMA

    "},"Classes/ZlibArchive.html":{"name":"ZlibArchive","abstract":"

    Provides unarchive function for Zlib archives.

    "},"Classes/Deflate.html":{"name":"Deflate","abstract":"

    Provides function to decompress data, which were compressed with DEFLATE.

    "},"Classes/BZip2.html":{"name":"BZip2","abstract":"

    Provides function to decompress data, which were compressed using BZip2.

    "},"Classes/XZArchive.html":{"name":"XZArchive","abstract":"

    Provides unarchive function for XZ archives.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Enums.html":{"name":"Enums","abstract":"

    The following enums are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structs","abstract":"

    The following structs are available globally.

    "}} \ No newline at end of file +{"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel16fastestAlgorithmFMS1_S1_":{"name":"fastestAlgorithm","abstract":"

    Fastest algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel13fastAlgorithmFMS1_S1_":{"name":"fastAlgorithm","abstract":"

    Fast algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel16defaultAlgorithmFMS1_S1_":{"name":"defaultAlgorithm","abstract":"

    Default algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel13slowAlgorithmFMS1_S1_":{"name":"slowAlgorithm","abstract":"

    Slowest algorithm but with maximum compression.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionMethod.html#/s:FOV13SWCompression10ZlibHeader17CompressionMethod7deflateFMS1_S1_":{"name":"deflate","abstract":"

    The only one supported compression method (Deflate).

    ","parent_name":"CompressionMethod"},"Structs/ZlibHeader/CompressionMethod.html":{"name":"CompressionMethod","abstract":"

    Supported compression methods in zlib archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader/CompressionLevel.html":{"name":"CompressionLevel","abstract":"

    Levels of compression which can be used to create zlib archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader17compressionMethodOS0_17CompressionMethod":{"name":"compressionMethod","abstract":"

    Compression method of archive. Always equals to .deflate.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader16compressionLevelOS0_16CompressionLevel":{"name":"compressionLevel","abstract":"

    Level of compression in the archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader10windowSizeSi":{"name":"windowSize","abstract":"

    Size of ‘window’: moving interval of data which was used to make the archive

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:FV13SWCompression10ZlibHeadercFzT11archiveDataV10Foundation4Data_S0_":{"name":"init(archiveData:)","abstract":"

    Initializes the structure with the values from zlib archive presented in archiveData.

    ","parent_name":"ZlibHeader"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType4unixFMS1_S1_":{"name":"unix","abstract":"

    One of many Linux systems. (It seems like modern macOS systems also fall into this category).

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType9macintoshFMS1_S1_":{"name":"macintosh","abstract":"

    Older Macintosh (Mac OS, OS X) systems.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType4ntfsFMS1_S1_":{"name":"ntfs","abstract":"

    File system used in Microsoft™®© Windows™®©.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType7unknownFMS1_S1_":{"name":"unknown","abstract":"

    File system was unknown to the archiver.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType5otherFMS1_S1_":{"name":"other","abstract":"

    File system was one of the rare systems..

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/CompressionMethod.html#/s:FOV13SWCompression10GzipHeader17CompressionMethod7deflateFMS1_S1_":{"name":"deflate","abstract":"

    The only one supported compression method (Deflate).

    ","parent_name":"CompressionMethod"},"Structs/GzipHeader/CompressionMethod.html":{"name":"CompressionMethod","abstract":"

    Supported compression methods in gzip archive.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader/FileSystemType.html":{"name":"FileSystemType","abstract":"

    Type of file system on which gzip archive was created.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader17compressionMethodOS0_17CompressionMethod":{"name":"compressionMethod","abstract":"

    Compression method of archive. Always equals to .deflate.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader16modificationTimeGSqV10Foundation4Date_":{"name":"modificationTime","abstract":"

    The most recent modification time of the original file. If set to 0 (default value == unset), then nil.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader6osTypeOS0_14FileSystemType":{"name":"osType","abstract":"

    Type of file system on which compression took place.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader16originalFileNameGSqSS_":{"name":"originalFileName","abstract":"

    Name of the original file.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader7commentGSqSS_":{"name":"comment","abstract":"

    Comment inside the archive.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:FV13SWCompression10GzipHeadercFzT11archiveDataV10Foundation4Data_S0_":{"name":"init(archiveData:)","abstract":"

    Initializes the structure with the values of first ‘member’ in gzip archive presented in archiveData.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html":{"name":"GzipHeader","abstract":"

    A structure which provides information about gzip archive.

    "},"Structs/ZlibHeader.html":{"name":"ZlibHeader","abstract":"

    A structure which provides information about zlib archive.

    "},"Protocols/ContainerEntry.html#/s:vP13SWCompression14ContainerEntry4nameSS":{"name":"name","abstract":"

    Undocumented

    ","parent_name":"ContainerEntry"},"Protocols/ContainerEntry.html#/s:vP13SWCompression14ContainerEntry4sizeSi":{"name":"size","abstract":"

    Undocumented

    ","parent_name":"ContainerEntry"},"Protocols/ContainerEntry.html#/s:vP13SWCompression14ContainerEntry11isDirectorySb":{"name":"isDirectory","abstract":"

    Undocumented

    ","parent_name":"ContainerEntry"},"Protocols/ContainerEntry.html#/s:FP13SWCompression14ContainerEntry4dataFzT_V10Foundation4Data":{"name":"data()","abstract":"

    Undocumented

    ","parent_name":"ContainerEntry"},"Protocols/Container.html#/s:ZFP13SWCompression9Container4openFzT13containerDataV10Foundation4Data_GSaPS_14ContainerEntry__":{"name":"open(containerData:)","abstract":"

    Undocumented

    ","parent_name":"Container"},"Protocols/DecompressionAlgorithm.html#/s:ZFP13SWCompression22DecompressionAlgorithm10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Abstract decompress function.

    ","parent_name":"DecompressionAlgorithm"},"Protocols/Archive.html#/s:ZFP13SWCompression7Archive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Abstract unarchive function.

    ","parent_name":"Archive"},"Protocols/Archive.html":{"name":"Archive","abstract":"

    Abstract archive class which supports unarchiving.

    "},"Protocols/DecompressionAlgorithm.html":{"name":"DecompressionAlgorithm","abstract":"

    Abstract decompression algorithm class which supports decompression.

    "},"Protocols/Container.html":{"name":"Container","abstract":"

    Undocumented

    "},"Protocols/ContainerEntry.html":{"name":"ContainerEntry","abstract":"

    Undocumented

    "},"Enums/XZError.html#/s:FO13SWCompression7XZError10wrongMagicFMS0_S0_":{"name":"wrongMagic","abstract":"

    Either magic number in header or footer was not equal to predefined value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError16wrongArchiveInfoFMS0_S0_":{"name":"wrongArchiveInfo","abstract":"

    One of special fields of archive had an incorrect value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError18fieldReservedValueFMS0_S0_":{"name":"fieldReservedValue","abstract":"

    One of special fields of archive had a reserved value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError12wrongInfoCRCFMS0_S0_":{"name":"wrongInfoCRC","abstract":"

    Checksum of one of special fields of archive was incorrect.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError13wrongFilterIDFMS0_S0_":{"name":"wrongFilterID","abstract":"

    ID of filter(s) used in archvie was unsupported.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError15checkTypeSHA256FMS0_S0_":{"name":"checkTypeSHA256","abstract":"

    Type of checksum of archive was SHA-256.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError13wrongDataSizeFMS0_S0_":{"name":"wrongDataSize","abstract":"

    Either size of decompressed data was not equal to specified one in block header or","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError10wrongCheckFMS0_FV10Foundation4DataS0_":{"name":"wrongCheck","abstract":"

    Computed checksum of uncompressed data didn’t match the value stored in the archive.","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError12wrongPaddingFMS0_S0_":{"name":"wrongPadding","abstract":"

    Unsupported padding of a structure in the archive.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError21multiByteIntegerErrorFMS0_S0_":{"name":"multiByteIntegerError","abstract":"

    Either null byte encountered or exceeded maximum amount bytes during reading multi byte number.

    ","parent_name":"XZError"},"Enums/TarError.html#/s:FO13SWCompression8TarError20tooSmallFileIsPassedFMS0_S0_":{"name":"tooSmallFileIsPassed","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/TarError.html#/s:FO13SWCompression8TarError16fieldIsNotNumberFMS0_S0_":{"name":"fieldIsNotNumber","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/TarError.html#/s:FO13SWCompression8TarError19wrongHeaderChecksumFMS0_S0_":{"name":"wrongHeaderChecksum","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/TarError.html#/s:FO13SWCompression8TarError17wrongUstarVersionFMS0_S0_":{"name":"wrongUstarVersion","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/TarError.html#/s:FO13SWCompression8TarError19wrongPaxHeaderEntryFMS0_S0_":{"name":"wrongPaxHeaderEntry","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error10wrongMagicFMS0_S0_":{"name":"wrongMagic","abstract":"

    Magic number was not 0x425a.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error22wrongCompressionMethodFMS0_S0_":{"name":"wrongCompressionMethod","abstract":"

    Compression method was not type ‘h’ (not Huffman).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14wrongBlockSizeFMS0_S0_":{"name":"wrongBlockSize","abstract":"

    Unknown block size (not from ‘0’ to ‘9’).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14wrongBlockTypeFMS0_S0_":{"name":"wrongBlockType","abstract":"

    Unknown block type (was neither ‘pi’ nor ‘sqrt(pi)’).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error15randomizedBlockFMS0_S0_":{"name":"randomizedBlock","abstract":"

    Block is randomized.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error18wrongHuffmanGroupsFMS0_S0_":{"name":"wrongHuffmanGroups","abstract":"

    Wrong number of Huffman tables/groups (should be between 2 and 6).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error13wrongSelectorFMS0_S0_":{"name":"wrongSelector","abstract":"

    Selector was greater than total number of Huffman tables/groups.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error22wrongHuffmanLengthCodeFMS0_S0_":{"name":"wrongHuffmanLengthCode","abstract":"

    Wrong code of Huffman length (should be between 0 and 20).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14symbolNotFoundFMS0_S0_":{"name":"symbolNotFound","abstract":"

    Symbol was not found in Huffman tree.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error8wrongCRCFMS0_FV10Foundation4DataS0_":{"name":"wrongCRC","abstract":"

    Computed CRC of uncompressed data didn’t match the value stored in the archive.","parent_name":"BZip2Error"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError29wrongUncompressedBlockLengthsFMS0_S0_":{"name":"wrongUncompressedBlockLengths","abstract":"

    Uncompressed block’ length and nlength bytes were not compatible.

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError14wrongBlockTypeFMS0_S0_":{"name":"wrongBlockType","abstract":"

    Unknown block type (not from 0 to 2).

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError11wrongSymbolFMS0_S0_":{"name":"wrongSymbol","abstract":"

    Decoded symbol was found in Huffman tree but is unknown.

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError14symbolNotFoundFMS0_S0_":{"name":"symbolNotFound","abstract":"

    Symbol was not found in Huffman tree.

    ","parent_name":"DeflateError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError22wrongCompressionMethodFMS0_S0_":{"name":"wrongCompressionMethod","abstract":"

    Compression method was other than 8 which is the only supported one.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError20wrongCompressionInfoFMS0_S0_":{"name":"wrongCompressionInfo","abstract":"

    Compression info was greater than 7 which is uncompatible number 8 compression method.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError11wrongFcheckFMS0_S0_":{"name":"wrongFcheck","abstract":"

    First two bytes were inconsistent with each other.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError21wrongCompressionLevelFMS0_S0_":{"name":"wrongCompressionLevel","abstract":"

    Compression level was other than 0, 1, 2, 3.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError12wrongAdler32FMS0_FV10Foundation4DataS0_":{"name":"wrongAdler32","abstract":"

    Computed Adler-32 sum of uncompressed data didn’t match the value stored in the archive.","parent_name":"ZlibError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError15wrongPropertiesFMS0_S0_":{"name":"wrongProperties","abstract":"

    Properties byte was greater than 225.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError21rangeDecoderInitErrorFMS0_S0_":{"name":"rangeDecoderInitError","abstract":"

    Unable to initialize RanderDecorer.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError24exceededUncompressedSizeFMS0_S0_":{"name":"exceededUncompressedSize","abstract":"

    The number of uncompressed bytes hit limit in the middle of decoding.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError13windowIsEmptyFMS0_S0_":{"name":"windowIsEmpty","abstract":"

    Unable to perfrom repeat-distance decoding because there is nothing to repeat.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError23rangeDecoderFinishErrorFMS0_S0_":{"name":"rangeDecoderFinishError","abstract":"

    End of stream marker is reached, but range decoder is in incorrect state.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError16repeatWillExceedFMS0_S0_":{"name":"repeatWillExceed","abstract":"

    The number of bytes to repeat is greater than the amount bytes that is left to decode.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError17notEnoughToRepeatFMS0_S0_":{"name":"notEnoughToRepeat","abstract":"

    The amount of already decoded bytes is smaller than repeat length.

    ","parent_name":"LZMAError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError27notFoundCentralDirectoryEndFMS0_S0_":{"name":"notFoundCentralDirectoryEnd","abstract":"

    End of Central Directoty record was not found.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError14wrongSignatureFMS0_S0_":{"name":"wrongSignature","abstract":"

    Wrong signature of one of ZIP container’s structures.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError9wrongSizeFMS0_S0_":{"name":"wrongSize","abstract":"

    Wrong either compressed or uncompressed size of a ZIP container’s entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError12wrongVersionFMS0_S0_":{"name":"wrongVersion","abstract":"

    Wrong number of version needed to extract ZIP container.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError24multiVolumesNotSupportedFMS0_S0_":{"name":"multiVolumesNotSupported","abstract":"

    Archive either spanned or consists of several volumes. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError22encryptionNotSupportedFMS0_S0_":{"name":"encryptionNotSupported","abstract":"

    Entry or record is encrypted. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError20patchingNotSupportedFMS0_S0_":{"name":"patchingNotSupported","abstract":"

    Entry contains patched data. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError23compressionNotSupportedFMS0_S0_":{"name":"compressionNotSupported","abstract":"

    Wrong compression method of an entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError16wrongLocalHeaderFMS0_S0_":{"name":"wrongLocalHeader","abstract":"

    Wrong local header of an entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError10wrongCRC32FMS0_FV10Foundation4DataS0_":{"name":"wrongCRC32","abstract":"

    Computed CRC32 of entry’s data didn’t match the value stored in the container.","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError14wrongTextFieldFMS0_S0_":{"name":"wrongTextField","abstract":"

    Undocumented

    ","parent_name":"ZipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10wrongMagicFMS0_S0_":{"name":"wrongMagic","abstract":"

    First two bytes of archive were not 31 and 139.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError22wrongCompressionMethodFMS0_S0_":{"name":"wrongCompressionMethod","abstract":"

    Compression method was other than 8 which is the only supported one.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10wrongFlagsFMS0_S0_":{"name":"wrongFlags","abstract":"

    Reserved flags bits were not equal to 0.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError14wrongHeaderCRCFMS0_S0_":{"name":"wrongHeaderCRC","abstract":"

    Computed CRC of header didn’t match the value stored in the archive.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError8wrongCRCFMS0_FV10Foundation4DataS0_":{"name":"wrongCRC","abstract":"

    Computed CRC of uncompressed data didn’t match the value stored in the archive.","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10wrongISizeFMS0_S0_":{"name":"wrongISize","abstract":"

    Computed isize didn’t match the value stored in the archive.

    ","parent_name":"GzipError"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error15wrongPropertiesFMS0_S0_":{"name":"wrongProperties","abstract":"

    Reserved bits of LZMA2 properties byte were not equal to zero.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error19wrongDictionarySizeFMS0_S0_":{"name":"wrongDictionarySize","abstract":"

    Dictionary size was too big.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error16wrongControlByteFMS0_S0_":{"name":"wrongControlByte","abstract":"

    Unknown conrol byte value of LZMA2 packet.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error10wrongResetFMS0_S0_":{"name":"wrongReset","abstract":"

    Unknown reset instruction encounetered in LZMA2 packet.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error10wrongSizesFMS0_S0_":{"name":"wrongSizes","abstract":"

    Either size of decompressed data was not equal to specified one in LZMA2 packet or","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html":{"name":"LZMA2Error","abstract":"

    Error happened during LZMA2 decompression."},"Enums/GzipError.html":{"name":"GzipError","abstract":"

    Error happened during unarchiving gzip archive."},"Enums/ZipError.html":{"name":"ZipError","abstract":"

    Error happened during processing ZIP archive (container)."},"Enums/LZMAError.html":{"name":"LZMAError","abstract":"

    Error happened during LZMA decompression."},"Enums/ZlibError.html":{"name":"ZlibError","abstract":"

    Error happened during unarchiving Zlib archive."},"Enums/DeflateError.html":{"name":"DeflateError","abstract":"

    Error happened during deflate decompression."},"Enums/BZip2Error.html":{"name":"BZip2Error","abstract":"

    Error happened during bzip2 decompression."},"Enums/TarError.html":{"name":"TarError","abstract":"

    Error happened during processing TAR archive (container)."},"Enums/XZError.html":{"name":"XZError","abstract":"

    Error happened during unarchiving XZ archive."},"Classes/XZArchive.html#/s:ZFC13SWCompression9XZArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives xz archive stored in archiveData.

    ","parent_name":"XZArchive"},"Classes/TarContainer.html#/s:ZFC13SWCompression12TarContainer4openFzT13containerDataV10Foundation4Data_GSaPS_14ContainerEntry__":{"name":"open(containerData:)","abstract":"

    Undocumented

    ","parent_name":"TarContainer"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType6normalFMS1_S1_":{"name":"normal","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType8hardLinkFMS1_S1_":{"name":"hardLink","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType12symbolicLinkFMS1_S1_":{"name":"symbolicLink","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType16characterSpecialFMS1_S1_":{"name":"characterSpecial","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType12blockSpecialFMS1_S1_":{"name":"blockSpecial","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType9directoryFMS1_S1_":{"name":"directory","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType4fifoFMS1_S1_":{"name":"fifo","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType10contiguousFMS1_S1_":{"name":"contiguous","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType20globalExtendedHeaderFMS1_S1_":{"name":"globalExtendedHeader","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType19localExtendedHeaderFMS1_S1_":{"name":"localExtendedHeader","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType23vendorUnknownOrReservedFMS1_S1_":{"name":"vendorUnknownOrReserved","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html":{"name":"EntryType","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry4nameSS":{"name":"name","abstract":"

    Name of the file or directory.

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry11isDirectorySb":{"name":"isDirectory","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry4modeGSqSi_":{"name":"mode","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry7ownerIDGSqSi_":{"name":"ownerID","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry7groupIDGSqSi_":{"name":"groupID","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry4sizeSi":{"name":"size","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry16modificationTimeV10Foundation4Date":{"name":"modificationTime","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry4typeOS0_9EntryType":{"name":"type","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry13ownerUserNameGSqSS_":{"name":"ownerUserName","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry14ownerGroupNameGSqSS_":{"name":"ownerGroupName","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry10accessTimeGSqV10Foundation4Date_":{"name":"accessTime","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry7charsetGSqSS_":{"name":"charset","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry7commentGSqSS_":{"name":"comment","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry8linkPathGSqSS_":{"name":"linkPath","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry28unknownExtendedHeaderEntriesGVs10DictionarySSSS_":{"name":"unknownExtendedHeaderEntries","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:FC13SWCompression8TarEntry4dataFT_V10Foundation4Data":{"name":"data()","abstract":"

    Returns data associated with this entry.

    ","parent_name":"TarEntry"},"Classes/BZip2.html#/s:ZFC13SWCompression5BZip210decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with BZip2 algortihm.

    ","parent_name":"BZip2"},"Classes/Deflate.html#/s:ZFC13SWCompression7Deflate10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with DEFLATE algortihm.

    ","parent_name":"Deflate"},"Classes/Deflate.html#/s:ZFC13SWCompression7Deflate8compressFzT4dataV10Foundation4Data_S2_":{"name":"compress(data:)","abstract":"

    Compresses data with DEFLATE algortihm.

    ","parent_name":"Deflate"},"Classes/ZlibArchive.html#/s:ZFC13SWCompression11ZlibArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives Zlib archive stored in archiveData.

    ","parent_name":"ZlibArchive"},"Classes/ZlibArchive.html#/s:ZFC13SWCompression11ZlibArchive7archiveFzT4dataV10Foundation4Data_S2_":{"name":"archive(data:)","abstract":"

    Archives data into Zlib archive. Data will be also compressed with DEFLTATE algorithm.","parent_name":"ZlibArchive"},"Classes/LZMA.html#/s:ZFC13SWCompression4LZMA10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with LZMA algortihm.

    ","parent_name":"LZMA"},"Classes/ZipContainer.html#/s:ZFC13SWCompression12ZipContainer4openFzT13containerDataV10Foundation4Data_GSaPS_14ContainerEntry__":{"name":"open(containerData:)","abstract":"

    Processes ZIP archive (container) and returns an array of ContainerEntries (which are actually ZipEntries).","parent_name":"ZipContainer"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry4nameSS":{"name":"name","abstract":"

    Name of the file or directory.

    ","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry7commentGSqSS_":{"name":"comment","abstract":"

    Comment associated with the entry.

    ","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry10attributesVs6UInt32":{"name":"attributes","abstract":"

    File or directory attributes related to the file system of archive’s creator.

    ","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry4sizeSi":{"name":"size","abstract":"

    Undocumented

    ","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry11isDirectorySb":{"name":"isDirectory","abstract":"

    True, if an entry is likely to be a directory.","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:FC13SWCompression8ZipEntry4dataFzT_V10Foundation4Data":{"name":"data()","abstract":"

    Returns data associated with this entry.

    ","parent_name":"ZipEntry"},"Classes/GzipArchive.html#/s:ZFC13SWCompression11GzipArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives gzip archive stored in archiveData.

    ","parent_name":"GzipArchive"},"Classes/GzipArchive.html#/s:ZFC13SWCompression11GzipArchive7archiveFzT4dataV10Foundation4Data_S2_":{"name":"archive(data:)","abstract":"

    Archives data into GZip archive. Data will be also compressed with DEFLTATE algorithm.","parent_name":"GzipArchive"},"Classes/LZMA2.html#/s:ZFC13SWCompression5LZMA210decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with LZMA2 algortihm. LZMA2 is a modification of LZMA.

    ","parent_name":"LZMA2"},"Classes/LZMA2.html":{"name":"LZMA2","abstract":"

    Provides function to decompress data, which were compressed with LZMA2

    "},"Classes/GzipArchive.html":{"name":"GzipArchive","abstract":"

    Provides unarchive function for GZip archives.

    "},"Classes/ZipEntry.html":{"name":"ZipEntry","abstract":"

    Represents either a file or directory entry inside ZIP archive.

    "},"Classes/ZipContainer.html":{"name":"ZipContainer","abstract":"

    Provides function which opens ZIP archives (containers).

    "},"Classes/LZMA.html":{"name":"LZMA","abstract":"

    Provides function to decompress data, which were compressed with LZMA

    "},"Classes/ZlibArchive.html":{"name":"ZlibArchive","abstract":"

    Provides unarchive function for Zlib archives.

    "},"Classes/Deflate.html":{"name":"Deflate","abstract":"

    Provides function to decompress data, which were compressed with DEFLATE.

    "},"Classes/BZip2.html":{"name":"BZip2","abstract":"

    Provides function to decompress data, which were compressed using BZip2.

    "},"Classes/TarEntry.html":{"name":"TarEntry","abstract":"

    Represents either a file or directory entry inside TAR archive.

    "},"Classes/TarContainer.html":{"name":"TarContainer","abstract":"

    Provides function which opens TAR archives (containers).

    "},"Classes/XZArchive.html":{"name":"XZArchive","abstract":"

    Provides unarchive function for XZ archives.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Enums.html":{"name":"Enums","abstract":"

    The following enums are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structs","abstract":"

    The following structs are available globally.

    "}} \ No newline at end of file diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/docSet.dsidx b/docs/docsets/SWCompression.docset/Contents/Resources/docSet.dsidx index 6b4f444e..cf8d3093 100644 Binary files a/docs/docsets/SWCompression.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/SWCompression.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/SWCompression.tgz b/docs/docsets/SWCompression.tgz index eb74fb5a..efa019cc 100644 Binary files a/docs/docsets/SWCompression.tgz and b/docs/docsets/SWCompression.tgz differ diff --git a/docs/index.html b/docs/index.html index 5061fe7f..2d2a68f9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -22,7 +22,7 @@ SWCompression Docs - (100% documented) + (75% documented)

    @@ -67,12 +67,24 @@

    + + + + @@ -96,6 +108,9 @@ + @@ -113,6 +128,12 @@ + + @@ -130,9 +151,6 @@ - @@ -153,8 +171,11 @@

    SWCompression

    -

    GitHub license CocoaPods Swift 3 -Build Status codecov

    +

    GitHub license +CocoaPods +Swift 3 +Build Status +codecov

    CocoaPods Carthage compatible

    @@ -304,7 +325,7 @@ which uses SWCompression for unarchiving several types of archives.

    Why is it so slow?

    Version 2.0 came with a great performance improvement. -Just look at the test results in ‘Tests/Test Result’. +Just look at the Tests Results. So if it’s slow the first thing you should do is to make sure you are using version >= 2.0.

    Is it still slow? @@ -336,6 +357,9 @@ so some difference in speed is expected.

  • .ZIP Application Note
  • ISO/IEC 21320-1
  • List of defined ZIP extra fields
  • +
  • Wikipedia article about TAR
  • +
  • Pax specification
  • +
  • Basic TAR specification
  • @@ -346,7 +370,7 @@ so some difference in speed is expected.

    diff --git a/docs/search.json b/docs/search.json index 0ffc137c..0812255e 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel16fastestAlgorithmFMS1_S1_":{"name":"fastestAlgorithm","abstract":"

    Fastest algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel13fastAlgorithmFMS1_S1_":{"name":"fastAlgorithm","abstract":"

    Fast algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel16defaultAlgorithmFMS1_S1_":{"name":"defaultAlgorithm","abstract":"

    Default algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel13slowAlgorithmFMS1_S1_":{"name":"slowAlgorithm","abstract":"

    Slowest algorithm but with maximum compression.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionMethod.html#/s:FOV13SWCompression10ZlibHeader17CompressionMethod7deflateFMS1_S1_":{"name":"deflate","abstract":"

    The only one supported compression method (Deflate).

    ","parent_name":"CompressionMethod"},"Structs/ZlibHeader/CompressionMethod.html":{"name":"CompressionMethod","abstract":"

    Supported compression methods in zlib archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader/CompressionLevel.html":{"name":"CompressionLevel","abstract":"

    Levels of compression which can be used to create zlib archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader17compressionMethodOS0_17CompressionMethod":{"name":"compressionMethod","abstract":"

    Compression method of archive. Always equals to .deflate.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader16compressionLevelOS0_16CompressionLevel":{"name":"compressionLevel","abstract":"

    Level of compression in the archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader10windowSizeSi":{"name":"windowSize","abstract":"

    Size of ‘window’: moving interval of data which was used to make the archive

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:FV13SWCompression10ZlibHeadercFzT11archiveDataV10Foundation4Data_S0_":{"name":"init(archiveData:)","abstract":"

    Initializes the structure with the values from zlib archive presented in archiveData.

    ","parent_name":"ZlibHeader"},"Structs/ZipEntry.html#/s:vV13SWCompression8ZipEntry8fileNameGSqSS_":{"name":"fileName","abstract":"

    Name of the file or directory.

    ","parent_name":"ZipEntry"},"Structs/ZipEntry.html#/s:vV13SWCompression8ZipEntry11fileCommentGSqSS_":{"name":"fileComment","abstract":"

    Comment associated with the entry.

    ","parent_name":"ZipEntry"},"Structs/ZipEntry.html#/s:vV13SWCompression8ZipEntry14fileAttributesVs6UInt32":{"name":"fileAttributes","abstract":"

    File or directory attributes related to the file system of archive’s creator.

    ","parent_name":"ZipEntry"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType4unixFMS1_S1_":{"name":"unix","abstract":"

    One of many Linux systems. (It seems like modern macOS systems also fall into this category).

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType9macintoshFMS1_S1_":{"name":"macintosh","abstract":"

    Older Macintosh (Mac OS, OS X) systems.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType4ntfsFMS1_S1_":{"name":"ntfs","abstract":"

    File system used in Microsoft™®© Windows™®©.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType7unknownFMS1_S1_":{"name":"unknown","abstract":"

    File system was unknown to the archiver.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType5otherFMS1_S1_":{"name":"other","abstract":"

    File system was one of the rare systems..

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/CompressionMethod.html#/s:FOV13SWCompression10GzipHeader17CompressionMethod7deflateFMS1_S1_":{"name":"deflate","abstract":"

    The only one supported compression method (Deflate).

    ","parent_name":"CompressionMethod"},"Structs/GzipHeader/CompressionMethod.html":{"name":"CompressionMethod","abstract":"

    Supported compression methods in gzip archive.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader/FileSystemType.html":{"name":"FileSystemType","abstract":"

    Type of file system on which gzip archive was created.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader17compressionMethodOS0_17CompressionMethod":{"name":"compressionMethod","abstract":"

    Compression method of archive. Always equals to .deflate.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader16modificationTimeV10Foundation4Date":{"name":"modificationTime","abstract":"

    The most recent modification time of the original file.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader6osTypeOS0_14FileSystemType":{"name":"osType","abstract":"

    Type of file system on which compression took place.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader16originalFileNameGSqSS_":{"name":"originalFileName","abstract":"

    Name of the original file.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader7commentGSqSS_":{"name":"comment","abstract":"

    Comment inside the archive.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:FV13SWCompression10GzipHeadercFzT11archiveDataV10Foundation4Data_S0_":{"name":"init(archiveData:)","abstract":"

    Initializes the structure with the values of first ‘member’ in gzip archive presented in archiveData.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html":{"name":"GzipHeader","abstract":"

    A structure which provides information about gzip archive.

    "},"Structs/ZipEntry.html":{"name":"ZipEntry","abstract":"

    Represents either a file or directory entry inside ZIP archive.

    "},"Structs/ZlibHeader.html":{"name":"ZlibHeader","abstract":"

    A structure which provides information about zlib archive.

    "},"Protocols/DecompressionAlgorithm.html#/s:ZFP13SWCompression22DecompressionAlgorithm10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Abstract decompress function.

    ","parent_name":"DecompressionAlgorithm"},"Protocols/Archive.html#/s:ZFP13SWCompression7Archive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Abstract unarchive function.

    ","parent_name":"Archive"},"Protocols/Archive.html":{"name":"Archive","abstract":"

    Abstract archive class which supports unarchiving.

    "},"Protocols/DecompressionAlgorithm.html":{"name":"DecompressionAlgorithm","abstract":"

    Abstract decompression algorithm class which supports decompression.

    "},"Enums/XZError.html#/s:FO13SWCompression7XZError10WrongMagicFMS0_S0_":{"name":"WrongMagic","abstract":"

    Either magic number in header or footer was not equal to predefined value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError16WrongArchiveInfoFMS0_S0_":{"name":"WrongArchiveInfo","abstract":"

    One of special fields of archive had an incorrect value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError18FieldReservedValueFMS0_S0_":{"name":"FieldReservedValue","abstract":"

    One of special fields of archive had a reserved value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError12WrongInfoCRCFMS0_S0_":{"name":"WrongInfoCRC","abstract":"

    Checksum of one of special fields of archive was incorrect.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError13WrongFilterIDFMS0_S0_":{"name":"WrongFilterID","abstract":"

    ID of filter(s) used in archvie was unsupported.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError15CheckTypeSHA256FMS0_S0_":{"name":"CheckTypeSHA256","abstract":"

    Type of checksum of archive was SHA-256.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError13WrongDataSizeFMS0_S0_":{"name":"WrongDataSize","abstract":"

    Either size of decompressed data was not equal to specified one in block header or","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError10WrongCheckFMS0_FV10Foundation4DataS0_":{"name":"WrongCheck","abstract":"

    Computed checksum of uncompressed data didn’t match the value stored in the archive.","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError12WrongPaddingFMS0_S0_":{"name":"WrongPadding","abstract":"

    Unsupported padding of a structure in the archive.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError21MultiByteIntegerErrorFMS0_S0_":{"name":"MultiByteIntegerError","abstract":"

    Either null byte encountered or exceeded maximum amount bytes during reading multi byte number.

    ","parent_name":"XZError"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error10WrongMagicFMS0_S0_":{"name":"WrongMagic","abstract":"

    Magic number was not 0x425a.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error22WrongCompressionMethodFMS0_S0_":{"name":"WrongCompressionMethod","abstract":"

    Compression method was not type ‘h’ (not Huffman).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14WrongBlockSizeFMS0_S0_":{"name":"WrongBlockSize","abstract":"

    Unknown block size (not from ‘0’ to ‘9’).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14WrongBlockTypeFMS0_S0_":{"name":"WrongBlockType","abstract":"

    Unknown block type (was neither ‘pi’ nor ‘sqrt(pi)’).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error15RandomizedBlockFMS0_S0_":{"name":"RandomizedBlock","abstract":"

    Block is randomized.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error18WrongHuffmanGroupsFMS0_S0_":{"name":"WrongHuffmanGroups","abstract":"

    Wrong number of Huffman tables/groups (should be between 2 and 6).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error13WrongSelectorFMS0_S0_":{"name":"WrongSelector","abstract":"

    Selector was greater than total number of Huffman tables/groups.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error22WrongHuffmanLengthCodeFMS0_S0_":{"name":"WrongHuffmanLengthCode","abstract":"

    Wrong code of Huffman length (should be between 0 and 20).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14SymbolNotFoundFMS0_S0_":{"name":"SymbolNotFound","abstract":"

    Symbol was not found in Huffman tree.

    ","parent_name":"BZip2Error"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError29WrongUncompressedBlockLengthsFMS0_S0_":{"name":"WrongUncompressedBlockLengths","abstract":"

    Uncompressed block’ length and nlength bytes were not compatible.

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError14WrongBlockTypeFMS0_S0_":{"name":"WrongBlockType","abstract":"

    Unknown block type (not from 0 to 2).

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError11WrongSymbolFMS0_S0_":{"name":"WrongSymbol","abstract":"

    Decoded symbol was found in Huffman tree but is unknown.

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError14SymbolNotFoundFMS0_S0_":{"name":"SymbolNotFound","abstract":"

    Symbol was not found in Huffman tree.

    ","parent_name":"DeflateError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError22WrongCompressionMethodFMS0_S0_":{"name":"WrongCompressionMethod","abstract":"

    Compression method was other than 8 which is the only supported one.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError20WrongCompressionInfoFMS0_S0_":{"name":"WrongCompressionInfo","abstract":"

    Compression info was greater than 7 which is uncompatible number 8 compression method.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError11WrongFcheckFMS0_S0_":{"name":"WrongFcheck","abstract":"

    First two bytes were inconsistent with each other.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError21WrongCompressionLevelFMS0_S0_":{"name":"WrongCompressionLevel","abstract":"

    Compression level was other than 0, 1, 2, 3.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError12WrongAdler32FMS0_FV10Foundation4DataS0_":{"name":"WrongAdler32","abstract":"

    Computed Adler-32 sum of uncompressed data didn’t match the value stored in the archive.","parent_name":"ZlibError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError15WrongPropertiesFMS0_S0_":{"name":"WrongProperties","abstract":"

    Properties byte was greater than 225.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError21RangeDecoderInitErrorFMS0_S0_":{"name":"RangeDecoderInitError","abstract":"

    Unable to initialize RanderDecorer.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError24ExceededUncompressedSizeFMS0_S0_":{"name":"ExceededUncompressedSize","abstract":"

    The number of uncompressed bytes hit limit in the middle of decoding.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError13WindowIsEmptyFMS0_S0_":{"name":"WindowIsEmpty","abstract":"

    Unable to perfrom repeat-distance decoding because there is nothing to repeat.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError23RangeDecoderFinishErrorFMS0_S0_":{"name":"RangeDecoderFinishError","abstract":"

    End of stream marker is reached, but range decoder is in incorrect state.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError16RepeatWillExceedFMS0_S0_":{"name":"RepeatWillExceed","abstract":"

    The number of bytes to repeat is greater than the amount bytes that is left to decode.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError17NotEnoughToRepeatFMS0_S0_":{"name":"NotEnoughToRepeat","abstract":"

    The amount of already decoded bytes is smaller than repeat length.

    ","parent_name":"LZMAError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError27NotFoundCentralDirectoryEndFMS0_S0_":{"name":"NotFoundCentralDirectoryEnd","abstract":"

    End of Central Directoty record was not found.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError14WrongSignatureFMS0_S0_":{"name":"WrongSignature","abstract":"

    Wrong signature of one of ZIP container’s structures.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError9WrongSizeFMS0_S0_":{"name":"WrongSize","abstract":"

    Wrong either compressed or uncompressed size of a ZIP container’s entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError12WrongVersionFMS0_S0_":{"name":"WrongVersion","abstract":"

    Wrong number of version needed to extract ZIP container.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError24MultiVolumesNotSupportedFMS0_S0_":{"name":"MultiVolumesNotSupported","abstract":"

    Archive either spanned or consists of several volumes. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError22EncryptionNotSupportedFMS0_S0_":{"name":"EncryptionNotSupported","abstract":"

    Entry or record is encrypted. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError20PatchingNotSupportedFMS0_S0_":{"name":"PatchingNotSupported","abstract":"

    Entry contains patched data. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError23CompressionNotSupportedFMS0_S0_":{"name":"CompressionNotSupported","abstract":"

    Wrong compression method of an entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError16WrongLocalHeaderFMS0_S0_":{"name":"WrongLocalHeader","abstract":"

    Wrong local header of an entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError10WrongCRC32FMS0_S0_":{"name":"WrongCRC32","abstract":"

    Wrong computed CRC32 of an entry.

    ","parent_name":"ZipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10WrongMagicFMS0_S0_":{"name":"WrongMagic","abstract":"

    First two bytes of archive were not 31 and 139.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError22WrongCompressionMethodFMS0_S0_":{"name":"WrongCompressionMethod","abstract":"

    Compression method was other than 8 which is the only supported one.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10WrongFlagsFMS0_S0_":{"name":"WrongFlags","abstract":"

    Reserved flags bits were not equal to 0.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError14WrongHeaderCRCFMS0_S0_":{"name":"WrongHeaderCRC","abstract":"

    Computed CRC of header didn’t match the value stored in the archive.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError8WrongCRCFMS0_FV10Foundation4DataS0_":{"name":"WrongCRC","abstract":"

    Computed CRC of uncompressed data didn’t match the value stored in the archive.","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10WrongISizeFMS0_S0_":{"name":"WrongISize","abstract":"

    Computed isize didn’t match the value stored in the archive.

    ","parent_name":"GzipError"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error15WrongPropertiesFMS0_S0_":{"name":"WrongProperties","abstract":"

    Reserved bits of LZMA2 properties byte were not equal to zero.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error19WrongDictionarySizeFMS0_S0_":{"name":"WrongDictionarySize","abstract":"

    Dictionary size was too big.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error16WrongControlByteFMS0_S0_":{"name":"WrongControlByte","abstract":"

    Unknown conrol byte value of LZMA2 packet.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error10WrongResetFMS0_S0_":{"name":"WrongReset","abstract":"

    Unknown reset instruction encounetered in LZMA2 packet.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error10WrongSizesFMS0_S0_":{"name":"WrongSizes","abstract":"

    Either size of decompressed data was not equal to specified one in LZMA2 packet or","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html":{"name":"LZMA2Error","abstract":"

    Error happened during LZMA2 decompression."},"Enums/GzipError.html":{"name":"GzipError","abstract":"

    Error happened during unarchiving gzip archive."},"Enums/ZipError.html":{"name":"ZipError","abstract":"

    Error happened during processing ZIP archive (container)."},"Enums/LZMAError.html":{"name":"LZMAError","abstract":"

    Error happened during LZMA decompression."},"Enums/ZlibError.html":{"name":"ZlibError","abstract":"

    Error happened during unarchiving Zlib archive."},"Enums/DeflateError.html":{"name":"DeflateError","abstract":"

    Error happened during deflate decompression."},"Enums/BZip2Error.html":{"name":"BZip2Error","abstract":"

    Error happened during bzip2 decompression."},"Enums/XZError.html":{"name":"XZError","abstract":"

    Error happened during unarchiving XZ archive."},"Classes/XZArchive.html#/s:ZFC13SWCompression9XZArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives xz archive stored in archiveData.

    ","parent_name":"XZArchive"},"Classes/BZip2.html#/s:ZFC13SWCompression5BZip210decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with BZip2 algortihm.

    ","parent_name":"BZip2"},"Classes/Deflate.html#/s:ZFC13SWCompression7Deflate10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with DEFLATE algortihm.

    ","parent_name":"Deflate"},"Classes/Deflate.html#/s:ZFC13SWCompression7Deflate8compressFzT4dataV10Foundation4Data_S2_":{"name":"compress(data:)","abstract":"

    Compresses data with DEFLATE algortihm.

    ","parent_name":"Deflate"},"Classes/ZlibArchive.html#/s:ZFC13SWCompression11ZlibArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives Zlib archive stored in archiveData.

    ","parent_name":"ZlibArchive"},"Classes/ZlibArchive.html#/s:ZFC13SWCompression11ZlibArchive7archiveFzT4dataV10Foundation4Data_S2_":{"name":"archive(data:)","abstract":"

    Archives data into Zlib archive. Data will be also compressed with DEFLTATE algorithm.","parent_name":"ZlibArchive"},"Classes/LZMA.html#/s:ZFC13SWCompression4LZMA10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with LZMA algortihm.

    ","parent_name":"LZMA"},"Classes/ZipContainer.html#/s:vC13SWCompression12ZipContainer7entriesGSaVS_8ZipEntry_":{"name":"entries","abstract":"

    All file and directory entries found in ZIP archive (in its Central Directory).

    ","parent_name":"ZipContainer"},"Classes/ZipContainer.html#/s:FC13SWCompression12ZipContainercFzT13containerDataV10Foundation4Data_S0_":{"name":"init(containerData:)","abstract":"

    Tries to open ZIP archive and parse its Central Directory.","parent_name":"ZipContainer"},"Classes/ZipContainer.html#/s:FC13SWCompression12ZipContainer4dataFzT3forVS_8ZipEntry_V10Foundation4Data":{"name":"data(for:)","abstract":"

    Returns data associated with provided ZipEntry.

    ","parent_name":"ZipContainer"},"Classes/ZipContainer.html#/s:ZFC13SWCompression12ZipContainer4openFzT13containerDataV10Foundation4Data_GSaT9entryNameSS9entryDataS2___":{"name":"open(containerData:)","abstract":"

    Processes ZIP archive (container) and returns an array of tuples (String, Data).","parent_name":"ZipContainer"},"Classes/GzipArchive.html#/s:ZFC13SWCompression11GzipArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives gzip archive stored in archiveData.

    ","parent_name":"GzipArchive"},"Classes/GzipArchive.html#/s:ZFC13SWCompression11GzipArchive7archiveFzT4dataV10Foundation4Data_S2_":{"name":"archive(data:)","abstract":"

    Archives data into GZip archive. Data will be also compressed with DEFLTATE algorithm.","parent_name":"GzipArchive"},"Classes/LZMA2.html#/s:ZFC13SWCompression5LZMA210decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with LZMA2 algortihm. LZMA2 is a modification of LZMA.

    ","parent_name":"LZMA2"},"Classes/LZMA2.html":{"name":"LZMA2","abstract":"

    Provides function to decompress data, which were compressed with LZMA2

    "},"Classes/GzipArchive.html":{"name":"GzipArchive","abstract":"

    Provides unarchive function for GZip archives.

    "},"Classes/ZipContainer.html":{"name":"ZipContainer","abstract":"

    Provides function to open ZIP archives (containers).

    "},"Classes/LZMA.html":{"name":"LZMA","abstract":"

    Provides function to decompress data, which were compressed with LZMA

    "},"Classes/ZlibArchive.html":{"name":"ZlibArchive","abstract":"

    Provides unarchive function for Zlib archives.

    "},"Classes/Deflate.html":{"name":"Deflate","abstract":"

    Provides function to decompress data, which were compressed with DEFLATE.

    "},"Classes/BZip2.html":{"name":"BZip2","abstract":"

    Provides function to decompress data, which were compressed using BZip2.

    "},"Classes/XZArchive.html":{"name":"XZArchive","abstract":"

    Provides unarchive function for XZ archives.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Enums.html":{"name":"Enums","abstract":"

    The following enums are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structs","abstract":"

    The following structs are available globally.

    "}} \ No newline at end of file +{"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel16fastestAlgorithmFMS1_S1_":{"name":"fastestAlgorithm","abstract":"

    Fastest algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel13fastAlgorithmFMS1_S1_":{"name":"fastAlgorithm","abstract":"

    Fast algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel16defaultAlgorithmFMS1_S1_":{"name":"defaultAlgorithm","abstract":"

    Default algorithm.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionLevel.html#/s:FOV13SWCompression10ZlibHeader16CompressionLevel13slowAlgorithmFMS1_S1_":{"name":"slowAlgorithm","abstract":"

    Slowest algorithm but with maximum compression.

    ","parent_name":"CompressionLevel"},"Structs/ZlibHeader/CompressionMethod.html#/s:FOV13SWCompression10ZlibHeader17CompressionMethod7deflateFMS1_S1_":{"name":"deflate","abstract":"

    The only one supported compression method (Deflate).

    ","parent_name":"CompressionMethod"},"Structs/ZlibHeader/CompressionMethod.html":{"name":"CompressionMethod","abstract":"

    Supported compression methods in zlib archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader/CompressionLevel.html":{"name":"CompressionLevel","abstract":"

    Levels of compression which can be used to create zlib archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader17compressionMethodOS0_17CompressionMethod":{"name":"compressionMethod","abstract":"

    Compression method of archive. Always equals to .deflate.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader16compressionLevelOS0_16CompressionLevel":{"name":"compressionLevel","abstract":"

    Level of compression in the archive.

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:vV13SWCompression10ZlibHeader10windowSizeSi":{"name":"windowSize","abstract":"

    Size of ‘window’: moving interval of data which was used to make the archive

    ","parent_name":"ZlibHeader"},"Structs/ZlibHeader.html#/s:FV13SWCompression10ZlibHeadercFzT11archiveDataV10Foundation4Data_S0_":{"name":"init(archiveData:)","abstract":"

    Initializes the structure with the values from zlib archive presented in archiveData.

    ","parent_name":"ZlibHeader"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType4unixFMS1_S1_":{"name":"unix","abstract":"

    One of many Linux systems. (It seems like modern macOS systems also fall into this category).

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType9macintoshFMS1_S1_":{"name":"macintosh","abstract":"

    Older Macintosh (Mac OS, OS X) systems.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType4ntfsFMS1_S1_":{"name":"ntfs","abstract":"

    File system used in Microsoft™®© Windows™®©.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType7unknownFMS1_S1_":{"name":"unknown","abstract":"

    File system was unknown to the archiver.

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/FileSystemType.html#/s:FOV13SWCompression10GzipHeader14FileSystemType5otherFMS1_S1_":{"name":"other","abstract":"

    File system was one of the rare systems..

    ","parent_name":"FileSystemType"},"Structs/GzipHeader/CompressionMethod.html#/s:FOV13SWCompression10GzipHeader17CompressionMethod7deflateFMS1_S1_":{"name":"deflate","abstract":"

    The only one supported compression method (Deflate).

    ","parent_name":"CompressionMethod"},"Structs/GzipHeader/CompressionMethod.html":{"name":"CompressionMethod","abstract":"

    Supported compression methods in gzip archive.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader/FileSystemType.html":{"name":"FileSystemType","abstract":"

    Type of file system on which gzip archive was created.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader17compressionMethodOS0_17CompressionMethod":{"name":"compressionMethod","abstract":"

    Compression method of archive. Always equals to .deflate.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader16modificationTimeGSqV10Foundation4Date_":{"name":"modificationTime","abstract":"

    The most recent modification time of the original file. If set to 0 (default value == unset), then nil.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader6osTypeOS0_14FileSystemType":{"name":"osType","abstract":"

    Type of file system on which compression took place.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader16originalFileNameGSqSS_":{"name":"originalFileName","abstract":"

    Name of the original file.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:vV13SWCompression10GzipHeader7commentGSqSS_":{"name":"comment","abstract":"

    Comment inside the archive.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html#/s:FV13SWCompression10GzipHeadercFzT11archiveDataV10Foundation4Data_S0_":{"name":"init(archiveData:)","abstract":"

    Initializes the structure with the values of first ‘member’ in gzip archive presented in archiveData.

    ","parent_name":"GzipHeader"},"Structs/GzipHeader.html":{"name":"GzipHeader","abstract":"

    A structure which provides information about gzip archive.

    "},"Structs/ZlibHeader.html":{"name":"ZlibHeader","abstract":"

    A structure which provides information about zlib archive.

    "},"Protocols/ContainerEntry.html#/s:vP13SWCompression14ContainerEntry4nameSS":{"name":"name","abstract":"

    Undocumented

    ","parent_name":"ContainerEntry"},"Protocols/ContainerEntry.html#/s:vP13SWCompression14ContainerEntry4sizeSi":{"name":"size","abstract":"

    Undocumented

    ","parent_name":"ContainerEntry"},"Protocols/ContainerEntry.html#/s:vP13SWCompression14ContainerEntry11isDirectorySb":{"name":"isDirectory","abstract":"

    Undocumented

    ","parent_name":"ContainerEntry"},"Protocols/ContainerEntry.html#/s:FP13SWCompression14ContainerEntry4dataFzT_V10Foundation4Data":{"name":"data()","abstract":"

    Undocumented

    ","parent_name":"ContainerEntry"},"Protocols/Container.html#/s:ZFP13SWCompression9Container4openFzT13containerDataV10Foundation4Data_GSaPS_14ContainerEntry__":{"name":"open(containerData:)","abstract":"

    Undocumented

    ","parent_name":"Container"},"Protocols/DecompressionAlgorithm.html#/s:ZFP13SWCompression22DecompressionAlgorithm10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Abstract decompress function.

    ","parent_name":"DecompressionAlgorithm"},"Protocols/Archive.html#/s:ZFP13SWCompression7Archive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Abstract unarchive function.

    ","parent_name":"Archive"},"Protocols/Archive.html":{"name":"Archive","abstract":"

    Abstract archive class which supports unarchiving.

    "},"Protocols/DecompressionAlgorithm.html":{"name":"DecompressionAlgorithm","abstract":"

    Abstract decompression algorithm class which supports decompression.

    "},"Protocols/Container.html":{"name":"Container","abstract":"

    Undocumented

    "},"Protocols/ContainerEntry.html":{"name":"ContainerEntry","abstract":"

    Undocumented

    "},"Enums/XZError.html#/s:FO13SWCompression7XZError10wrongMagicFMS0_S0_":{"name":"wrongMagic","abstract":"

    Either magic number in header or footer was not equal to predefined value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError16wrongArchiveInfoFMS0_S0_":{"name":"wrongArchiveInfo","abstract":"

    One of special fields of archive had an incorrect value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError18fieldReservedValueFMS0_S0_":{"name":"fieldReservedValue","abstract":"

    One of special fields of archive had a reserved value.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError12wrongInfoCRCFMS0_S0_":{"name":"wrongInfoCRC","abstract":"

    Checksum of one of special fields of archive was incorrect.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError13wrongFilterIDFMS0_S0_":{"name":"wrongFilterID","abstract":"

    ID of filter(s) used in archvie was unsupported.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError15checkTypeSHA256FMS0_S0_":{"name":"checkTypeSHA256","abstract":"

    Type of checksum of archive was SHA-256.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError13wrongDataSizeFMS0_S0_":{"name":"wrongDataSize","abstract":"

    Either size of decompressed data was not equal to specified one in block header or","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError10wrongCheckFMS0_FV10Foundation4DataS0_":{"name":"wrongCheck","abstract":"

    Computed checksum of uncompressed data didn’t match the value stored in the archive.","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError12wrongPaddingFMS0_S0_":{"name":"wrongPadding","abstract":"

    Unsupported padding of a structure in the archive.

    ","parent_name":"XZError"},"Enums/XZError.html#/s:FO13SWCompression7XZError21multiByteIntegerErrorFMS0_S0_":{"name":"multiByteIntegerError","abstract":"

    Either null byte encountered or exceeded maximum amount bytes during reading multi byte number.

    ","parent_name":"XZError"},"Enums/TarError.html#/s:FO13SWCompression8TarError20tooSmallFileIsPassedFMS0_S0_":{"name":"tooSmallFileIsPassed","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/TarError.html#/s:FO13SWCompression8TarError16fieldIsNotNumberFMS0_S0_":{"name":"fieldIsNotNumber","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/TarError.html#/s:FO13SWCompression8TarError19wrongHeaderChecksumFMS0_S0_":{"name":"wrongHeaderChecksum","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/TarError.html#/s:FO13SWCompression8TarError17wrongUstarVersionFMS0_S0_":{"name":"wrongUstarVersion","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/TarError.html#/s:FO13SWCompression8TarError19wrongPaxHeaderEntryFMS0_S0_":{"name":"wrongPaxHeaderEntry","abstract":"

    Undocumented

    ","parent_name":"TarError"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error10wrongMagicFMS0_S0_":{"name":"wrongMagic","abstract":"

    Magic number was not 0x425a.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error22wrongCompressionMethodFMS0_S0_":{"name":"wrongCompressionMethod","abstract":"

    Compression method was not type ‘h’ (not Huffman).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14wrongBlockSizeFMS0_S0_":{"name":"wrongBlockSize","abstract":"

    Unknown block size (not from ‘0’ to ‘9’).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14wrongBlockTypeFMS0_S0_":{"name":"wrongBlockType","abstract":"

    Unknown block type (was neither ‘pi’ nor ‘sqrt(pi)’).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error15randomizedBlockFMS0_S0_":{"name":"randomizedBlock","abstract":"

    Block is randomized.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error18wrongHuffmanGroupsFMS0_S0_":{"name":"wrongHuffmanGroups","abstract":"

    Wrong number of Huffman tables/groups (should be between 2 and 6).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error13wrongSelectorFMS0_S0_":{"name":"wrongSelector","abstract":"

    Selector was greater than total number of Huffman tables/groups.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error22wrongHuffmanLengthCodeFMS0_S0_":{"name":"wrongHuffmanLengthCode","abstract":"

    Wrong code of Huffman length (should be between 0 and 20).

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error14symbolNotFoundFMS0_S0_":{"name":"symbolNotFound","abstract":"

    Symbol was not found in Huffman tree.

    ","parent_name":"BZip2Error"},"Enums/BZip2Error.html#/s:FO13SWCompression10BZip2Error8wrongCRCFMS0_FV10Foundation4DataS0_":{"name":"wrongCRC","abstract":"

    Computed CRC of uncompressed data didn’t match the value stored in the archive.","parent_name":"BZip2Error"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError29wrongUncompressedBlockLengthsFMS0_S0_":{"name":"wrongUncompressedBlockLengths","abstract":"

    Uncompressed block’ length and nlength bytes were not compatible.

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError14wrongBlockTypeFMS0_S0_":{"name":"wrongBlockType","abstract":"

    Unknown block type (not from 0 to 2).

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError11wrongSymbolFMS0_S0_":{"name":"wrongSymbol","abstract":"

    Decoded symbol was found in Huffman tree but is unknown.

    ","parent_name":"DeflateError"},"Enums/DeflateError.html#/s:FO13SWCompression12DeflateError14symbolNotFoundFMS0_S0_":{"name":"symbolNotFound","abstract":"

    Symbol was not found in Huffman tree.

    ","parent_name":"DeflateError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError22wrongCompressionMethodFMS0_S0_":{"name":"wrongCompressionMethod","abstract":"

    Compression method was other than 8 which is the only supported one.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError20wrongCompressionInfoFMS0_S0_":{"name":"wrongCompressionInfo","abstract":"

    Compression info was greater than 7 which is uncompatible number 8 compression method.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError11wrongFcheckFMS0_S0_":{"name":"wrongFcheck","abstract":"

    First two bytes were inconsistent with each other.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError21wrongCompressionLevelFMS0_S0_":{"name":"wrongCompressionLevel","abstract":"

    Compression level was other than 0, 1, 2, 3.

    ","parent_name":"ZlibError"},"Enums/ZlibError.html#/s:FO13SWCompression9ZlibError12wrongAdler32FMS0_FV10Foundation4DataS0_":{"name":"wrongAdler32","abstract":"

    Computed Adler-32 sum of uncompressed data didn’t match the value stored in the archive.","parent_name":"ZlibError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError15wrongPropertiesFMS0_S0_":{"name":"wrongProperties","abstract":"

    Properties byte was greater than 225.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError21rangeDecoderInitErrorFMS0_S0_":{"name":"rangeDecoderInitError","abstract":"

    Unable to initialize RanderDecorer.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError24exceededUncompressedSizeFMS0_S0_":{"name":"exceededUncompressedSize","abstract":"

    The number of uncompressed bytes hit limit in the middle of decoding.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError13windowIsEmptyFMS0_S0_":{"name":"windowIsEmpty","abstract":"

    Unable to perfrom repeat-distance decoding because there is nothing to repeat.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError23rangeDecoderFinishErrorFMS0_S0_":{"name":"rangeDecoderFinishError","abstract":"

    End of stream marker is reached, but range decoder is in incorrect state.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError16repeatWillExceedFMS0_S0_":{"name":"repeatWillExceed","abstract":"

    The number of bytes to repeat is greater than the amount bytes that is left to decode.

    ","parent_name":"LZMAError"},"Enums/LZMAError.html#/s:FO13SWCompression9LZMAError17notEnoughToRepeatFMS0_S0_":{"name":"notEnoughToRepeat","abstract":"

    The amount of already decoded bytes is smaller than repeat length.

    ","parent_name":"LZMAError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError27notFoundCentralDirectoryEndFMS0_S0_":{"name":"notFoundCentralDirectoryEnd","abstract":"

    End of Central Directoty record was not found.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError14wrongSignatureFMS0_S0_":{"name":"wrongSignature","abstract":"

    Wrong signature of one of ZIP container’s structures.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError9wrongSizeFMS0_S0_":{"name":"wrongSize","abstract":"

    Wrong either compressed or uncompressed size of a ZIP container’s entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError12wrongVersionFMS0_S0_":{"name":"wrongVersion","abstract":"

    Wrong number of version needed to extract ZIP container.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError24multiVolumesNotSupportedFMS0_S0_":{"name":"multiVolumesNotSupported","abstract":"

    Archive either spanned or consists of several volumes. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError22encryptionNotSupportedFMS0_S0_":{"name":"encryptionNotSupported","abstract":"

    Entry or record is encrypted. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError20patchingNotSupportedFMS0_S0_":{"name":"patchingNotSupported","abstract":"

    Entry contains patched data. This feature is not supported.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError23compressionNotSupportedFMS0_S0_":{"name":"compressionNotSupported","abstract":"

    Wrong compression method of an entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError16wrongLocalHeaderFMS0_S0_":{"name":"wrongLocalHeader","abstract":"

    Wrong local header of an entry.

    ","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError10wrongCRC32FMS0_FV10Foundation4DataS0_":{"name":"wrongCRC32","abstract":"

    Computed CRC32 of entry’s data didn’t match the value stored in the container.","parent_name":"ZipError"},"Enums/ZipError.html#/s:FO13SWCompression8ZipError14wrongTextFieldFMS0_S0_":{"name":"wrongTextField","abstract":"

    Undocumented

    ","parent_name":"ZipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10wrongMagicFMS0_S0_":{"name":"wrongMagic","abstract":"

    First two bytes of archive were not 31 and 139.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError22wrongCompressionMethodFMS0_S0_":{"name":"wrongCompressionMethod","abstract":"

    Compression method was other than 8 which is the only supported one.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10wrongFlagsFMS0_S0_":{"name":"wrongFlags","abstract":"

    Reserved flags bits were not equal to 0.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError14wrongHeaderCRCFMS0_S0_":{"name":"wrongHeaderCRC","abstract":"

    Computed CRC of header didn’t match the value stored in the archive.

    ","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError8wrongCRCFMS0_FV10Foundation4DataS0_":{"name":"wrongCRC","abstract":"

    Computed CRC of uncompressed data didn’t match the value stored in the archive.","parent_name":"GzipError"},"Enums/GzipError.html#/s:FO13SWCompression9GzipError10wrongISizeFMS0_S0_":{"name":"wrongISize","abstract":"

    Computed isize didn’t match the value stored in the archive.

    ","parent_name":"GzipError"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error15wrongPropertiesFMS0_S0_":{"name":"wrongProperties","abstract":"

    Reserved bits of LZMA2 properties byte were not equal to zero.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error19wrongDictionarySizeFMS0_S0_":{"name":"wrongDictionarySize","abstract":"

    Dictionary size was too big.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error16wrongControlByteFMS0_S0_":{"name":"wrongControlByte","abstract":"

    Unknown conrol byte value of LZMA2 packet.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error10wrongResetFMS0_S0_":{"name":"wrongReset","abstract":"

    Unknown reset instruction encounetered in LZMA2 packet.

    ","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html#/s:FO13SWCompression10LZMA2Error10wrongSizesFMS0_S0_":{"name":"wrongSizes","abstract":"

    Either size of decompressed data was not equal to specified one in LZMA2 packet or","parent_name":"LZMA2Error"},"Enums/LZMA2Error.html":{"name":"LZMA2Error","abstract":"

    Error happened during LZMA2 decompression."},"Enums/GzipError.html":{"name":"GzipError","abstract":"

    Error happened during unarchiving gzip archive."},"Enums/ZipError.html":{"name":"ZipError","abstract":"

    Error happened during processing ZIP archive (container)."},"Enums/LZMAError.html":{"name":"LZMAError","abstract":"

    Error happened during LZMA decompression."},"Enums/ZlibError.html":{"name":"ZlibError","abstract":"

    Error happened during unarchiving Zlib archive."},"Enums/DeflateError.html":{"name":"DeflateError","abstract":"

    Error happened during deflate decompression."},"Enums/BZip2Error.html":{"name":"BZip2Error","abstract":"

    Error happened during bzip2 decompression."},"Enums/TarError.html":{"name":"TarError","abstract":"

    Error happened during processing TAR archive (container)."},"Enums/XZError.html":{"name":"XZError","abstract":"

    Error happened during unarchiving XZ archive."},"Classes/XZArchive.html#/s:ZFC13SWCompression9XZArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives xz archive stored in archiveData.

    ","parent_name":"XZArchive"},"Classes/TarContainer.html#/s:ZFC13SWCompression12TarContainer4openFzT13containerDataV10Foundation4Data_GSaPS_14ContainerEntry__":{"name":"open(containerData:)","abstract":"

    Undocumented

    ","parent_name":"TarContainer"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType6normalFMS1_S1_":{"name":"normal","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType8hardLinkFMS1_S1_":{"name":"hardLink","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType12symbolicLinkFMS1_S1_":{"name":"symbolicLink","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType16characterSpecialFMS1_S1_":{"name":"characterSpecial","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType12blockSpecialFMS1_S1_":{"name":"blockSpecial","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType9directoryFMS1_S1_":{"name":"directory","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType4fifoFMS1_S1_":{"name":"fifo","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType10contiguousFMS1_S1_":{"name":"contiguous","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType20globalExtendedHeaderFMS1_S1_":{"name":"globalExtendedHeader","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType19localExtendedHeaderFMS1_S1_":{"name":"localExtendedHeader","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html#/s:FOC13SWCompression8TarEntry9EntryType23vendorUnknownOrReservedFMS1_S1_":{"name":"vendorUnknownOrReserved","abstract":"

    Undocumented

    ","parent_name":"EntryType"},"Classes/TarEntry/EntryType.html":{"name":"EntryType","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry4nameSS":{"name":"name","abstract":"

    Name of the file or directory.

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry11isDirectorySb":{"name":"isDirectory","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry4modeGSqSi_":{"name":"mode","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry7ownerIDGSqSi_":{"name":"ownerID","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry7groupIDGSqSi_":{"name":"groupID","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry4sizeSi":{"name":"size","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry16modificationTimeV10Foundation4Date":{"name":"modificationTime","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry4typeOS0_9EntryType":{"name":"type","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry13ownerUserNameGSqSS_":{"name":"ownerUserName","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry14ownerGroupNameGSqSS_":{"name":"ownerGroupName","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry10accessTimeGSqV10Foundation4Date_":{"name":"accessTime","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry7charsetGSqSS_":{"name":"charset","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry7commentGSqSS_":{"name":"comment","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry8linkPathGSqSS_":{"name":"linkPath","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:vC13SWCompression8TarEntry28unknownExtendedHeaderEntriesGVs10DictionarySSSS_":{"name":"unknownExtendedHeaderEntries","abstract":"

    Undocumented

    ","parent_name":"TarEntry"},"Classes/TarEntry.html#/s:FC13SWCompression8TarEntry4dataFT_V10Foundation4Data":{"name":"data()","abstract":"

    Returns data associated with this entry.

    ","parent_name":"TarEntry"},"Classes/BZip2.html#/s:ZFC13SWCompression5BZip210decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with BZip2 algortihm.

    ","parent_name":"BZip2"},"Classes/Deflate.html#/s:ZFC13SWCompression7Deflate10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with DEFLATE algortihm.

    ","parent_name":"Deflate"},"Classes/Deflate.html#/s:ZFC13SWCompression7Deflate8compressFzT4dataV10Foundation4Data_S2_":{"name":"compress(data:)","abstract":"

    Compresses data with DEFLATE algortihm.

    ","parent_name":"Deflate"},"Classes/ZlibArchive.html#/s:ZFC13SWCompression11ZlibArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives Zlib archive stored in archiveData.

    ","parent_name":"ZlibArchive"},"Classes/ZlibArchive.html#/s:ZFC13SWCompression11ZlibArchive7archiveFzT4dataV10Foundation4Data_S2_":{"name":"archive(data:)","abstract":"

    Archives data into Zlib archive. Data will be also compressed with DEFLTATE algorithm.","parent_name":"ZlibArchive"},"Classes/LZMA.html#/s:ZFC13SWCompression4LZMA10decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with LZMA algortihm.

    ","parent_name":"LZMA"},"Classes/ZipContainer.html#/s:ZFC13SWCompression12ZipContainer4openFzT13containerDataV10Foundation4Data_GSaPS_14ContainerEntry__":{"name":"open(containerData:)","abstract":"

    Processes ZIP archive (container) and returns an array of ContainerEntries (which are actually ZipEntries).","parent_name":"ZipContainer"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry4nameSS":{"name":"name","abstract":"

    Name of the file or directory.

    ","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry7commentGSqSS_":{"name":"comment","abstract":"

    Comment associated with the entry.

    ","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry10attributesVs6UInt32":{"name":"attributes","abstract":"

    File or directory attributes related to the file system of archive’s creator.

    ","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry4sizeSi":{"name":"size","abstract":"

    Undocumented

    ","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:vC13SWCompression8ZipEntry11isDirectorySb":{"name":"isDirectory","abstract":"

    True, if an entry is likely to be a directory.","parent_name":"ZipEntry"},"Classes/ZipEntry.html#/s:FC13SWCompression8ZipEntry4dataFzT_V10Foundation4Data":{"name":"data()","abstract":"

    Returns data associated with this entry.

    ","parent_name":"ZipEntry"},"Classes/GzipArchive.html#/s:ZFC13SWCompression11GzipArchive9unarchiveFzT11archiveDataV10Foundation4Data_S2_":{"name":"unarchive(archiveData:)","abstract":"

    Unarchives gzip archive stored in archiveData.

    ","parent_name":"GzipArchive"},"Classes/GzipArchive.html#/s:ZFC13SWCompression11GzipArchive7archiveFzT4dataV10Foundation4Data_S2_":{"name":"archive(data:)","abstract":"

    Archives data into GZip archive. Data will be also compressed with DEFLTATE algorithm.","parent_name":"GzipArchive"},"Classes/LZMA2.html#/s:ZFC13SWCompression5LZMA210decompressFzT14compressedDataV10Foundation4Data_S2_":{"name":"decompress(compressedData:)","abstract":"

    Decompresses compressedData with LZMA2 algortihm. LZMA2 is a modification of LZMA.

    ","parent_name":"LZMA2"},"Classes/LZMA2.html":{"name":"LZMA2","abstract":"

    Provides function to decompress data, which were compressed with LZMA2

    "},"Classes/GzipArchive.html":{"name":"GzipArchive","abstract":"

    Provides unarchive function for GZip archives.

    "},"Classes/ZipEntry.html":{"name":"ZipEntry","abstract":"

    Represents either a file or directory entry inside ZIP archive.

    "},"Classes/ZipContainer.html":{"name":"ZipContainer","abstract":"

    Provides function which opens ZIP archives (containers).

    "},"Classes/LZMA.html":{"name":"LZMA","abstract":"

    Provides function to decompress data, which were compressed with LZMA

    "},"Classes/ZlibArchive.html":{"name":"ZlibArchive","abstract":"

    Provides unarchive function for Zlib archives.

    "},"Classes/Deflate.html":{"name":"Deflate","abstract":"

    Provides function to decompress data, which were compressed with DEFLATE.

    "},"Classes/BZip2.html":{"name":"BZip2","abstract":"

    Provides function to decompress data, which were compressed using BZip2.

    "},"Classes/TarEntry.html":{"name":"TarEntry","abstract":"

    Represents either a file or directory entry inside TAR archive.

    "},"Classes/TarContainer.html":{"name":"TarContainer","abstract":"

    Provides function which opens TAR archives (containers).

    "},"Classes/XZArchive.html":{"name":"XZArchive","abstract":"

    Provides unarchive function for XZ archives.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Enums.html":{"name":"Enums","abstract":"

    The following enums are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structs","abstract":"

    The following structs are available globally.

    "}} \ No newline at end of file diff --git a/docs/undocumented.json b/docs/undocumented.json index 1862018e..3ffe176b 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -1,6 +1,292 @@ { "warnings": [ - + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/Protocols.swift", + "line": 27, + "symbol": "Container", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/Protocols.swift", + "line": 29, + "symbol": "Container.open(containerData:)", + "symbol_kind": "source.lang.swift.decl.function.method.static", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/Protocols.swift", + "line": 33, + "symbol": "ContainerEntry", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/Protocols.swift", + "line": 35, + "symbol": "ContainerEntry.name", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/Protocols.swift", + "line": 36, + "symbol": "ContainerEntry.size", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/Protocols.swift", + "line": 37, + "symbol": "ContainerEntry.isDirectory", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/Protocols.swift", + "line": 39, + "symbol": "ContainerEntry.data()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 18, + "symbol": "TarError.tooSmallFileIsPassed", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 19, + "symbol": "TarError.fieldIsNotNumber", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 20, + "symbol": "TarError.wrongHeaderChecksum", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 21, + "symbol": "TarError.wrongUstarVersion", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 22, + "symbol": "TarError.wrongPaxHeaderEntry", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 28, + "symbol": "TarEntry.EntryType", + "symbol_kind": "source.lang.swift.decl.enum", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 29, + "symbol": "TarEntry.EntryType.normal", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 30, + "symbol": "TarEntry.EntryType.hardLink", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 31, + "symbol": "TarEntry.EntryType.symbolicLink", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 32, + "symbol": "TarEntry.EntryType.characterSpecial", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 33, + "symbol": "TarEntry.EntryType.blockSpecial", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 34, + "symbol": "TarEntry.EntryType.directory", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 35, + "symbol": "TarEntry.EntryType.fifo", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 36, + "symbol": "TarEntry.EntryType.contiguous", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 37, + "symbol": "TarEntry.EntryType.globalExtendedHeader", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 38, + "symbol": "TarEntry.EntryType.localExtendedHeader", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 39, + "symbol": "TarEntry.EntryType.vendorUnknownOrReserved", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 47, + "symbol": "TarEntry.isDirectory", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 51, + "symbol": "TarEntry.mode", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 52, + "symbol": "TarEntry.ownerID", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 53, + "symbol": "TarEntry.groupID", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 54, + "symbol": "TarEntry.size", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 55, + "symbol": "TarEntry.modificationTime", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 56, + "symbol": "TarEntry.type", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 58, + "symbol": "TarEntry.ownerUserName", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 59, + "symbol": "TarEntry.ownerGroupName", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 69, + "symbol": "TarEntry.accessTime", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 70, + "symbol": "TarEntry.charset", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 71, + "symbol": "TarEntry.comment", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 72, + "symbol": "TarEntry.linkPath", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 73, + "symbol": "TarEntry.unknownExtendedHeaderEntries", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/TarContainer.swift", + "line": 293, + "symbol": "TarContainer.open(containerData:)", + "symbol_kind": "source.lang.swift.decl.function.method.static", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/ZipContainer.swift", + "line": 51, + "symbol": "ZipError.wrongTextField", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/timofeysolomko/Developer/SWCompression/Sources/ZipContainer.swift", + "line": 75, + "symbol": "ZipEntry.size", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + } ], "source_directory": "/Users/timofeysolomko/Developer/SWCompression" } \ No newline at end of file