mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
Merge branch 'develop'
This commit is contained in:
+3
-3
@@ -1,12 +1,12 @@
|
||||
output: docs/
|
||||
clean: true
|
||||
exclude: Tests/
|
||||
swift_version: 3.0.2
|
||||
swift_version: 3.1
|
||||
author: Timofey Solomko
|
||||
module: SWCompression
|
||||
module_version: 2.2.2
|
||||
module_version: 2.3.0
|
||||
copyright: '© 2017 Timofey Solomko'
|
||||
readme: README.md
|
||||
github_url: https://github.com/tsolomko/SWCompression
|
||||
github_file_prefix: https://github.com/tsolomko/SWCompression/tree/v2.2.2
|
||||
github_file_prefix: https://github.com/tsolomko/SWCompression/tree/v2.3.0
|
||||
theme: fullwidth
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
3.0
|
||||
3.1
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
language: objective-c
|
||||
osx_image: xcode8.2
|
||||
osx_image: xcode8.3
|
||||
xcode_project: SWCompression.xcodeproj
|
||||
xcode_scheme: SWCompression
|
||||
env:
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
# Changelog
|
||||
v2.3.0
|
||||
----------------
|
||||
- Improved Deflate compression performance.
|
||||
- Added GZip archiving function.
|
||||
- Fixed a problem when Deflate uncompressed blocks were created with one extra byte.
|
||||
|
||||
v2.2.2
|
||||
----------------
|
||||
- Fixed problem with zero-length uncompressed blocks.
|
||||
|
||||
@@ -148,7 +148,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 at 'Tests/Test Result'.
|
||||
Just look at the test results in 'Tests/Test Result'.
|
||||
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?
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Pod::Spec.new do |s|
|
||||
|
||||
s.name = "SWCompression"
|
||||
s.version = "2.2.2"
|
||||
s.version = "2.3.0"
|
||||
s.summary = "Framework with implementations in Swift of different (de)compression algorithms"
|
||||
|
||||
s.description = <<-DESC
|
||||
|
||||
@@ -76,7 +76,7 @@ struct CheckSums {
|
||||
3654703836, 1088359270, 936918000, 2847714899, 3736837829, 1202900863, 817233897, 3183342108,
|
||||
3401237130, 1404277552, 615818150, 3134207493, 3453421203, 1423857449, 601450431, 3009837614,
|
||||
3294710456, 1567103746, 711928724, 3020668471, 3272380065, 1510334235, 755167117]
|
||||
|
||||
|
||||
private static let crc64table: [UInt64] =
|
||||
[0, 12911341560706588527, 17619267392293085275, 5164075066763771700, 8921845837811637811,
|
||||
14483170935171449180, 10328150133527543400, 4357999468653093127, 17843691675623275622,
|
||||
|
||||
+88
-45
@@ -9,9 +9,9 @@
|
||||
import Foundation
|
||||
|
||||
/**
|
||||
Error happened during deflate decompression.
|
||||
Error happened during deflate decompression.
|
||||
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.
|
||||
@@ -31,14 +31,47 @@ public enum DeflateError: Error {
|
||||
/// Provides function to decompress data, which were compressed with DEFLATE.
|
||||
public final class Deflate: DecompressionAlgorithm {
|
||||
|
||||
private struct Constants {
|
||||
static let codeLengthOrders: [Int] =
|
||||
[16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
|
||||
|
||||
/// - Warning: Substract 257 from index!
|
||||
static let lengthBase: [Int] =
|
||||
[3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35,
|
||||
43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258]
|
||||
|
||||
static let distanceBase: [Int] =
|
||||
[1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
|
||||
257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
|
||||
8193, 12289, 16385, 24577]
|
||||
|
||||
static let lengthCode: [Int] =
|
||||
[257, 258, 259, 260, 261, 262, 263, 264, 265, 265, 266, 266, 267, 267, 268, 268,
|
||||
269, 269, 269, 269, 270, 270, 270, 270, 271, 271, 271, 271, 272, 272, 272, 272,
|
||||
273, 273, 273, 273, 273, 273, 273, 273, 274, 274, 274, 274, 274, 274, 274, 274,
|
||||
275, 275, 275, 275, 275, 275, 275, 275, 276, 276, 276, 276, 276, 276, 276, 276,
|
||||
277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
|
||||
278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278,
|
||||
279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279,
|
||||
280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280,
|
||||
281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281,
|
||||
281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281,
|
||||
282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282,
|
||||
282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282,
|
||||
283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
|
||||
283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
|
||||
284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284,
|
||||
284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 285]
|
||||
}
|
||||
|
||||
/**
|
||||
Decompresses `compressedData` with DEFLATE algortihm.
|
||||
|
||||
If data passed is not actually compressed with DEFLATE, `DeflateError` will be thrown.
|
||||
|
||||
- Parameter compressedData: Data compressed with DEFLATE.
|
||||
|
||||
- Throws: `DeflateError` if unexpected byte (bit) sequence was encountered in `compressedData`.
|
||||
|
||||
- Throws: `DeflateError` if unexpected byte (bit) sequence was encountered in `compressedData`.
|
||||
It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.
|
||||
|
||||
- Returns: Decompressed data.
|
||||
@@ -105,7 +138,7 @@ public final class Deflate: DecompressionAlgorithm {
|
||||
// Moreover, they are stored in a very specific order (defined by HuffmanTree.Constants.codeLengthOrders).
|
||||
var lengthsForOrder = Array(repeating: 0, count: 19)
|
||||
for i in 0..<codeLengthsLength {
|
||||
lengthsForOrder[HuffmanTree.Constants.codeLengthOrders[i]] = pointerData.intFromBits(count: 3)
|
||||
lengthsForOrder[Constants.codeLengthOrders[i]] = pointerData.intFromBits(count: 3)
|
||||
}
|
||||
/// Huffman tree for code lengths. Each code in the main alphabets is coded with this tree.
|
||||
let dynamicCodes = HuffmanTree(lengthsToOrder: lengthsForOrder, &pointerData)
|
||||
@@ -173,7 +206,7 @@ public final class Deflate: DecompressionAlgorithm {
|
||||
let extraLength = (257 <= nextSymbol && nextSymbol <= 260) || nextSymbol == 285 ?
|
||||
0 : (((nextSymbol - 257) >> 2) - 1)
|
||||
// Actually, nextSymbol is not a starting value of length but an index for special array of starting values.
|
||||
let length = HuffmanTree.Constants.lengthBase[nextSymbol - 257] +
|
||||
let length = Constants.lengthBase[nextSymbol - 257] +
|
||||
pointerData.intFromBits(count: extraLength)
|
||||
|
||||
// Then we need to get distance code.
|
||||
@@ -186,7 +219,7 @@ public final class Deflate: DecompressionAlgorithm {
|
||||
// which we need to combine with distanceCode to get the actual distance.
|
||||
let extraDistance = distanceCode == 0 || distanceCode == 1 ? 0 : ((distanceCode >> 1) - 1)
|
||||
// And yes, distanceCode is not a first part of distance but rather an index for special array.
|
||||
let distance = HuffmanTree.Constants.distanceBase[distanceCode] +
|
||||
let distance = Constants.distanceBase[distanceCode] +
|
||||
pointerData.intFromBits(count: extraDistance)
|
||||
|
||||
// We should repeat last 'distance' amount of data.
|
||||
@@ -283,7 +316,7 @@ public final class Deflate: DecompressionAlgorithm {
|
||||
// Falling back to static Huffman encoding in case of big uncompressed block is a band-aid solution.
|
||||
// TODO: Implement spliting uncompressed block into smaller blocks.
|
||||
if uncompBlockSize <= staticHuffmanBlockSize && uncompBlockSize <= 65535 {
|
||||
// In case if according to our calculations static huffman will only make output data then input,
|
||||
// If according to our calculations static huffman will not make output smaller than input,
|
||||
// we fallback to creating uncompressed block.
|
||||
// In this case dynamic Huffman encoding can be efficient.
|
||||
// TODO: Implement dynamic Huffman code!
|
||||
@@ -309,8 +342,6 @@ public final class Deflate: DecompressionAlgorithm {
|
||||
// Write data's n-length.
|
||||
bitWriter.write(number: bytes.count ^ (1 << 16 - 1), bitsCount: 16)
|
||||
|
||||
// Finishing block header.
|
||||
bitWriter.finish()
|
||||
var out = bitWriter.buffer
|
||||
|
||||
// Write actual data.
|
||||
@@ -322,7 +353,7 @@ public final class Deflate: DecompressionAlgorithm {
|
||||
}
|
||||
|
||||
private static func encodeHuffmanBlock(_ bldCodes: [BLDCode]) throws -> [UInt8] {
|
||||
let bitWriter = BitToByteWriter(bitOrder: .reversed)
|
||||
var bitWriter = BitToByteWriter(bitOrder: .reversed)
|
||||
|
||||
// Write block header.
|
||||
// Note: For now it is only static huffman blocks.
|
||||
@@ -339,56 +370,69 @@ public final class Deflate: DecompressionAlgorithm {
|
||||
let staticHuffmanBootstrap = [[0, 8], [144, 9], [256, 7], [280, 8], [288, -1]]
|
||||
let staticHuffmanLengthsBootstrap = [[0, 5], [32, -1]]
|
||||
/// Huffman tree for literal and length symbols/codes.
|
||||
let mainLiterals = HuffmanTree(bootstrap: staticHuffmanBootstrap, &pointerData)
|
||||
let mainLiterals = HuffmanTree(bootstrap: staticHuffmanBootstrap, &pointerData, true)
|
||||
/// Huffman tree for backward distance symbols/codes.
|
||||
let mainDistances = HuffmanTree(bootstrap: staticHuffmanLengthsBootstrap, &pointerData)
|
||||
let mainDistances = HuffmanTree(bootstrap: staticHuffmanLengthsBootstrap, &pointerData, true)
|
||||
|
||||
for code in bldCodes {
|
||||
switch code {
|
||||
case .byte(let byte):
|
||||
let codeOfByte = mainLiterals.code(symbol: byte.toInt())
|
||||
guard codeOfByte.count > 0
|
||||
else { throw DeflateError.SymbolNotFound }
|
||||
bitWriter.write(bits: codeOfByte)
|
||||
case .lengthDistance(let length, let distance, let lengthSymbol, let distanceSymbol):
|
||||
let lengthExtra = length - HuffmanTree.Constants.lengthBase[lengthSymbol - 257]
|
||||
let extraLengthBitsCount = (257 <= lengthSymbol && lengthSymbol <= 260) || lengthSymbol == 285 ?
|
||||
0 : (((lengthSymbol - 257) >> 2) - 1)
|
||||
mainLiterals.code(symbol: byte.toInt(), &bitWriter)
|
||||
case .lengthDistance(let ld):
|
||||
mainLiterals.code(symbol: ld.lengthSymbol, &bitWriter)
|
||||
bitWriter.write(number: ld.lengthExtraBits, bitsCount: ld.lengthExtraBitsCount)
|
||||
|
||||
let codeOfLength = mainLiterals.code(symbol: lengthSymbol)
|
||||
guard codeOfLength.count > 0
|
||||
else { throw DeflateError.SymbolNotFound }
|
||||
bitWriter.write(bits: codeOfLength)
|
||||
bitWriter.write(number: lengthExtra, bitsCount: extraLengthBitsCount)
|
||||
|
||||
let distanceExtra = distance - HuffmanTree.Constants.distanceBase[distanceSymbol]
|
||||
let extraDistanceBitsCount = distanceSymbol == 0 || distanceSymbol == 1 ? 0 : ((distanceSymbol >> 1) - 1)
|
||||
|
||||
let codeOfDistance = mainDistances.code(symbol: distanceSymbol)
|
||||
guard codeOfDistance.count > 0
|
||||
else { throw DeflateError.SymbolNotFound }
|
||||
bitWriter.write(bits: codeOfDistance)
|
||||
bitWriter.write(number: distanceExtra, bitsCount: extraDistanceBitsCount)
|
||||
mainDistances.code(symbol: ld.distanceSymbol, &bitWriter)
|
||||
bitWriter.write(number: ld.distanceExtraBits, bitsCount: ld.distanceExtraBitsCount)
|
||||
}
|
||||
}
|
||||
|
||||
// End data symbol.
|
||||
bitWriter.write(bits: mainLiterals.code(symbol: 256))
|
||||
mainLiterals.code(symbol: 256, &bitWriter)
|
||||
bitWriter.finish()
|
||||
|
||||
return bitWriter.buffer
|
||||
}
|
||||
|
||||
private struct LengthDistance {
|
||||
|
||||
let length: Int
|
||||
let lengthSymbol: Int
|
||||
let lengthExtraBits: Int
|
||||
let lengthExtraBitsCount: Int
|
||||
|
||||
let distance: Int
|
||||
let distanceSymbol: Int
|
||||
let distanceExtraBits: Int
|
||||
let distanceExtraBitsCount: Int
|
||||
|
||||
init(_ length: Int, _ distance: Int) {
|
||||
self.length = length
|
||||
let lengthSymbol = Constants.lengthCode[length - 3]
|
||||
self.lengthSymbol = lengthSymbol
|
||||
self.lengthExtraBits = length - Constants.lengthBase[lengthSymbol - 257]
|
||||
self.lengthExtraBitsCount = (257 <= lengthSymbol && lengthSymbol <= 260) || lengthSymbol == 285 ?
|
||||
0 : (((lengthSymbol - 257) >> 2) - 1)
|
||||
|
||||
self.distance = distance
|
||||
let distanceSymbol = ((Constants.distanceBase.index { $0 > distance }) ?? 30) - 1
|
||||
self.distanceSymbol = distanceSymbol
|
||||
self.distanceExtraBits = distance - Constants.distanceBase[distanceSymbol]
|
||||
self.distanceExtraBitsCount = distanceSymbol == 0 || distanceSymbol == 1 ? 0 : ((distanceSymbol >> 1) - 1)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private enum BLDCode: CustomStringConvertible {
|
||||
case byte(UInt8)
|
||||
case lengthDistance(Int, Int, Int, Int)
|
||||
case lengthDistance(LengthDistance)
|
||||
|
||||
var description: String {
|
||||
switch self {
|
||||
case .byte(let byte):
|
||||
return "raw symbol: \(byte)"
|
||||
case .lengthDistance(let length, let distance, let lengthSymbol, let distanceSymbol):
|
||||
return "length: \(length), length symbol: \(lengthSymbol), distance: \(distance), distance symbol: \(distanceSymbol)"
|
||||
case .lengthDistance(let ld):
|
||||
return "length: \(ld.length), length symbol: \(ld.lengthSymbol), distance: \(ld.distance), distance symbol: \(ld.distanceSymbol)"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -399,7 +443,7 @@ public final class Deflate: DecompressionAlgorithm {
|
||||
var buffer: [BLDCode] = []
|
||||
var inputIndex = 0
|
||||
/// Keys --- three-byte crc32, values --- positions in `rawBytes`.
|
||||
var dictionary = [UInt32 : Int]()
|
||||
var dictionary = [UInt32: Int]()
|
||||
|
||||
var stats = Array(repeating: 0, count: 316)
|
||||
|
||||
@@ -445,11 +489,10 @@ public final class Deflate: DecompressionAlgorithm {
|
||||
repeatIndex = matchStartIndex + 1
|
||||
}
|
||||
}
|
||||
let lengthSymbol = HuffmanTree.Constants.lengthCode[matchLength - 3]
|
||||
let distanceSymbol = ((HuffmanTree.Constants.distanceBase.index { $0 > distance }) ?? 30) - 1
|
||||
buffer.append(BLDCode.lengthDistance(matchLength, distance, lengthSymbol, distanceSymbol))
|
||||
stats[lengthSymbol] += 1
|
||||
stats[286 + distanceSymbol] += 1
|
||||
let ld = LengthDistance(matchLength, distance)
|
||||
buffer.append(BLDCode.lengthDistance(ld))
|
||||
stats[ld.lengthSymbol] += 1
|
||||
stats[286 + ld.distanceSymbol] += 1
|
||||
inputIndex += matchLength
|
||||
} else {
|
||||
buffer.append(BLDCode.byte(byte))
|
||||
|
||||
@@ -72,6 +72,7 @@ public struct GzipHeader {
|
||||
|
||||
/// Compression method of archive. Always equals to `.deflate`.
|
||||
public let compressionMethod: CompressionMethod
|
||||
// TODO: Make it optional.
|
||||
/// The most recent modification time of the original file.
|
||||
public let modificationTime: Date
|
||||
/// Type of file system on which compression took place.
|
||||
@@ -118,6 +119,7 @@ public struct GzipHeader {
|
||||
for i in 0..<4 {
|
||||
headerBytes.append(((mtime & (0xFF << (i * 8))) >> (i * 8)).toUInt8())
|
||||
}
|
||||
// TODO: Should be nil in case of mtime == 0.
|
||||
self.modificationTime = Date(timeIntervalSince1970: TimeInterval(mtime))
|
||||
|
||||
let extraFlags = pointerData.alignedByte()
|
||||
@@ -218,4 +220,49 @@ public final class GzipArchive: Archive {
|
||||
return Data(bytes: out)
|
||||
}
|
||||
|
||||
/**
|
||||
Archives `data` into GZip archive. Data will be also compressed with DEFLTATE algorithm.
|
||||
Fields in the header of the resulting archive will be set to default values
|
||||
(i.e. no mtime, no flags, no file name, unknown OS type).
|
||||
It will be also specified that the compressor used slowest DEFLATE algorithm.
|
||||
|
||||
If during compression something goes wrong `DeflateError` will be thrown.
|
||||
|
||||
- Note: This function is specification compliant.
|
||||
|
||||
- Parameter data: Data to compress and archive.
|
||||
|
||||
- Throws: `DeflateError` if an error was encountered during compression.
|
||||
|
||||
- Returns: Data object with resulting archive.
|
||||
*/
|
||||
public static func archive(data: Data) throws -> Data {
|
||||
let out: [UInt8] = [
|
||||
0x1f, 0x8b, // 'magic' bytes.
|
||||
8, // Compression method (DEFLATE).
|
||||
0, // Flags; currently no flags are set.
|
||||
0, 0, 0, 0, // Mtime; currently timestamp is not set.
|
||||
2, // Extra flags; 2 means that DEFLATE used slowest algorithm.
|
||||
255, // OS Type; set to default value (unknown).
|
||||
]
|
||||
var outData = Data(bytes: out)
|
||||
outData.append(try Deflate.compress(data: data))
|
||||
|
||||
let crc32 = CheckSums.crc32(data.toArray(type: UInt8.self))
|
||||
var crcBytes = [UInt8]()
|
||||
for i: UInt32 in 0..<4 {
|
||||
crcBytes.append(UInt8((crc32 & (0xFF << (i * 8))) >> (i * 8)))
|
||||
}
|
||||
outData.append(Data(bytes: crcBytes))
|
||||
|
||||
let isize = UInt64(data.count) % UInt64(1) << 32
|
||||
var isizeBytes = [UInt8]()
|
||||
for i: UInt64 in 0..<4 {
|
||||
isizeBytes.append(UInt8((isize & (0xFF << (i * 8))) >> (i * 8)))
|
||||
}
|
||||
outData.append(Data(bytes: isizeBytes))
|
||||
|
||||
return outData
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+110
-53
@@ -10,46 +10,20 @@ import Foundation
|
||||
|
||||
class HuffmanTree {
|
||||
|
||||
struct Constants {
|
||||
static let codeLengthOrders: [Int] =
|
||||
[16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
|
||||
|
||||
/// - Warning: Substract 257 from index!
|
||||
static let lengthBase: [Int] =
|
||||
[3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35,
|
||||
43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258]
|
||||
|
||||
static let distanceBase: [Int] =
|
||||
[1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
|
||||
257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
|
||||
8193, 12289, 16385, 24577]
|
||||
|
||||
static let lengthCode: [Int] =
|
||||
[257, 258, 259, 260, 261, 262, 263, 264, 265, 265, 266, 266, 267, 267, 268, 268,
|
||||
269, 269, 269, 269, 270, 270, 270, 270, 271, 271, 271, 271, 272, 272, 272, 272,
|
||||
273, 273, 273, 273, 273, 273, 273, 273, 274, 274, 274, 274, 274, 274, 274, 274,
|
||||
275, 275, 275, 275, 275, 275, 275, 275, 276, 276, 276, 276, 276, 276, 276, 276,
|
||||
277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
|
||||
278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278,
|
||||
279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279,
|
||||
280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280,
|
||||
281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281,
|
||||
281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281,
|
||||
282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282,
|
||||
282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282,
|
||||
283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
|
||||
283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
|
||||
284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284,
|
||||
284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 285]
|
||||
private enum HTNode {
|
||||
case leaf(Int)
|
||||
case branch(Set<Int>)
|
||||
}
|
||||
|
||||
private var pointerData: DataWithPointer
|
||||
|
||||
/// Array of [code, bitsCount] arrays.
|
||||
private var tree: [[Int]]
|
||||
private var tree: [HTNode]
|
||||
private let leafCount: Int
|
||||
|
||||
init(bootstrap: [[Int]], _ pointerData: inout DataWithPointer) {
|
||||
private let coding: Bool
|
||||
|
||||
init(bootstrap: [[Int]], _ pointerData: inout DataWithPointer, _ coding: Bool = false) {
|
||||
self.coding = coding
|
||||
self.pointerData = pointerData
|
||||
|
||||
// Fills the 'lengths' array with numerous HuffmanLengths from a 'bootstrap'.
|
||||
@@ -92,8 +66,7 @@ class HuffmanTree {
|
||||
|
||||
// Calculate maximum amount of leaves possible in a tree.
|
||||
self.leafCount = 1 << (lengths.last![1] + 1)
|
||||
// Create a tree (array, actually) with all leaves equal nil.
|
||||
self.tree = Array(repeating: [-1, -1], count: leafCount)
|
||||
self.tree = Array(repeating: .leaf(-1), count: leafCount)
|
||||
|
||||
// Calculates symbols for each length in 'lengths' array and put them in the tree.
|
||||
var loopBits = -1
|
||||
@@ -115,7 +88,46 @@ class HuffmanTree {
|
||||
index = bit == 0 ? 2 * index + 1 : 2 * index + 2
|
||||
treeCode >>= 1
|
||||
}
|
||||
self.tree[index] = length
|
||||
self.tree[index] = .leaf(length[0])
|
||||
}
|
||||
|
||||
if coding {
|
||||
for treeIndex in stride(from: self.leafCount - 1, through: 0, by: -1) {
|
||||
switch self.tree[treeIndex] {
|
||||
case .leaf(let symbol):
|
||||
if symbol == -1 {
|
||||
var replacementArray = Set<Int>()
|
||||
|
||||
let leftChildIndex = 2 * treeIndex + 1
|
||||
if leftChildIndex < self.leafCount {
|
||||
switch self.tree[leftChildIndex] {
|
||||
case .leaf(let leftSymbol):
|
||||
replacementArray.insert(leftSymbol)
|
||||
case .branch(let leftArray):
|
||||
for leftChild in leftArray {
|
||||
replacementArray.insert(leftChild)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
let rightChildIndex = 2 * treeIndex + 2
|
||||
if rightChildIndex < self.leafCount {
|
||||
switch self.tree[rightChildIndex] {
|
||||
case .leaf(let rightSymbol):
|
||||
replacementArray.insert(rightSymbol)
|
||||
case .branch(let rightArray):
|
||||
for rightChild in rightArray {
|
||||
replacementArray.insert(rightChild)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
self.tree[treeIndex] = .branch(replacementArray)
|
||||
}
|
||||
default:
|
||||
continue
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,29 +145,74 @@ class HuffmanTree {
|
||||
let bit = pointerData.bit()
|
||||
index = bit == 0 ? 2 * index + 1 : 2 * index + 2
|
||||
guard index < self.leafCount else { return -1 }
|
||||
if self.tree[index][0] > -1 {
|
||||
return self.tree[index][0]
|
||||
switch self.tree[index] {
|
||||
case .leaf(let symbol):
|
||||
if symbol > -1 {
|
||||
return symbol
|
||||
}
|
||||
default:
|
||||
continue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func code(symbol: Int) -> [UInt8] {
|
||||
if var symbolIndex = self.tree.index(where: { $0[0] == symbol }) {
|
||||
var bits: [UInt8] = Array(repeating: 0, count: self.tree[symbolIndex][1])
|
||||
var i = bits.count - 1
|
||||
while symbolIndex > 0 {
|
||||
if symbolIndex % 2 == 0 {
|
||||
bits[i] = 1
|
||||
symbolIndex /= 2
|
||||
symbolIndex -= 1
|
||||
func code(symbol: Int, _ bitWriter: inout BitToByteWriter) {
|
||||
guard self.coding else { fatalError("Tree is not coding, this error should be replaced with Error.") }
|
||||
|
||||
var index = 0
|
||||
while true {
|
||||
switch self.tree[index] {
|
||||
case .leaf(let foundSymbol):
|
||||
if foundSymbol == symbol {
|
||||
return
|
||||
} else {
|
||||
symbolIndex /= 2
|
||||
fatalError("Symbol not found, this error should be replaced with Error.")
|
||||
}
|
||||
case .branch(_):
|
||||
let leftChildIndex = 2 * index + 1
|
||||
if leftChildIndex < self.leafCount {
|
||||
switch self.tree[leftChildIndex] {
|
||||
case .leaf(let foundLeftSymbol):
|
||||
if foundLeftSymbol == symbol {
|
||||
index = leftChildIndex
|
||||
bitWriter.write(bit: 0)
|
||||
continue
|
||||
} else {
|
||||
break
|
||||
}
|
||||
case .branch(let leftArray):
|
||||
if leftArray.contains(symbol) {
|
||||
index = leftChildIndex
|
||||
bitWriter.write(bit: 0)
|
||||
continue
|
||||
} else {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
let rightChildIndex = 2 * index + 2
|
||||
if rightChildIndex < self.leafCount {
|
||||
switch self.tree[rightChildIndex] {
|
||||
case .leaf(let foundRightSymbol):
|
||||
if foundRightSymbol == symbol {
|
||||
index = rightChildIndex
|
||||
bitWriter.write(bit: 1)
|
||||
continue
|
||||
} else {
|
||||
fatalError("Symbol not found, this error should be replaced with Error.")
|
||||
}
|
||||
case .branch(let rightArray):
|
||||
if rightArray.contains(symbol) {
|
||||
index = rightChildIndex
|
||||
bitWriter.write(bit: 1)
|
||||
continue
|
||||
} else {
|
||||
fatalError("Symbol not found, this error should be replaced with Error.")
|
||||
}
|
||||
}
|
||||
}
|
||||
i -= 1
|
||||
}
|
||||
return bits
|
||||
} else {
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.2.2</string>
|
||||
<string>2.3.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.2.2</string>
|
||||
<string>2.3.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.2.2</string>
|
||||
<string>2.3.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.2.2</string>
|
||||
<string>2.3.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
||||
@@ -97,4 +97,52 @@ class GzipTests: XCTestCase {
|
||||
XCTAssertEqual(decompressedData, answerData, "Decompression was incorrect")
|
||||
}
|
||||
|
||||
func perform(createTest testName: String) {
|
||||
guard let testData = try? Data(contentsOf: Constants.url(forAnswer: testName),
|
||||
options: .mappedIfSafe) else {
|
||||
XCTFail("Failed to load test data.")
|
||||
return
|
||||
}
|
||||
|
||||
guard let archiveData = try? GzipArchive.archive(data: testData) else {
|
||||
XCTFail("Unable to create archive.")
|
||||
return
|
||||
}
|
||||
|
||||
guard let reextractedData = try? GzipArchive.unarchive(archiveData: archiveData) else {
|
||||
XCTFail("Unable to re-extract created archive.")
|
||||
return
|
||||
}
|
||||
|
||||
XCTAssertEqual(testData, reextractedData, "Re-extracted data is not equal to initial data.")
|
||||
}
|
||||
|
||||
func testCreateGzip1() {
|
||||
self.perform(createTest: "test1")
|
||||
}
|
||||
|
||||
func testCreateGzip2() {
|
||||
self.perform(createTest: "test2")
|
||||
}
|
||||
|
||||
func testCreateGzip3() {
|
||||
self.perform(createTest: "test3")
|
||||
}
|
||||
|
||||
func testCreateGzip4() {
|
||||
self.perform(createTest: "test4")
|
||||
}
|
||||
|
||||
func testCreateGzip5() {
|
||||
self.perform(createTest: "test5")
|
||||
}
|
||||
|
||||
func testCreateGzip6() {
|
||||
self.perform(createTest: "test6")
|
||||
}
|
||||
|
||||
// func testCreateGzip7() {
|
||||
// self.perform(createTest: "test7")
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
bz2.test1 average: 0.002
|
||||
bz2.test2 average: 0.365
|
||||
bz2.test3 average: 0.153
|
||||
bz2.test4 average: 0.148
|
||||
bz2.test5 average: 0.000
|
||||
bz2.test6 average: 7.391
|
||||
deflate.test1 average: 0.004
|
||||
deflate.test2 average: 0.032
|
||||
deflate.test3 average: 0.023
|
||||
deflate.test4 average: 0.005
|
||||
deflate.test5 average: 0.000
|
||||
deflate.test6 average: 0.894
|
||||
undeflate.test1 average: 0.001
|
||||
undeflate.test2 average: 0.006
|
||||
undeflate.test3 average: 0.005
|
||||
undeflate.test4 average: 0.002
|
||||
undeflate.test5 average: 0.002
|
||||
undeflate.test6 average: 0.337
|
||||
undeflate.test7 average: 0.487
|
||||
xz.test1 average: 0.009
|
||||
xz.test2 average: 0.015
|
||||
xz.test3 average: 0.015
|
||||
xz.test4 average: 0.009
|
||||
xz.test5 average: 0.000
|
||||
xz.test6 average: 0.696
|
||||
xz.test7 average: 1.025
|
||||
@@ -0,0 +1,28 @@
|
||||
bz2.test1 average: 0.000
|
||||
bz2.test2 average: 0.003
|
||||
bz2.test3 average: 0.002
|
||||
bz2.test4 average: 0.001
|
||||
bz2.test5 average: 0.000
|
||||
bz2.test6 average: 0.053
|
||||
bz2.test7 average: 2.430
|
||||
deflate.test1 average: 0.001
|
||||
deflate.test2 average: 0.002
|
||||
deflate.test3 average: 0.003
|
||||
deflate.test4 average: 0.001
|
||||
deflate.test5 average: 0.000
|
||||
deflate.test6 average: 0.029
|
||||
deflate.test7 average: 3.174
|
||||
undeflate.test1 average: 0.001
|
||||
undeflate.test2 average: 0.001
|
||||
undeflate.test3 average: 0.001
|
||||
undeflate.test4 average: 0.001
|
||||
undeflate.test5 average: 0.001
|
||||
undeflate.test6 average: 0.024
|
||||
undeflate.test7 average: 0.042
|
||||
xz.test1 average: 0.004
|
||||
xz.test2 average: 0.005
|
||||
xz.test3 average: 0.005
|
||||
xz.test4 average: 0.004
|
||||
xz.test5 average: 0.000
|
||||
xz.test6 average: 0.076
|
||||
xz.test7 average: 0.152
|
||||
+9
-9
@@ -186,7 +186,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L38-L106">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L38-L106">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -221,7 +221,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L180-L221">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L182-L268">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -256,7 +256,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L77-L236">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L77-L236">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -291,7 +291,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L44-L90">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L44-L90">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -326,7 +326,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L125-L157">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L125-L157">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -361,7 +361,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L32-L475">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L32-L518">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -396,7 +396,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L47-L277">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L47-L277">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -431,7 +431,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L58-L346">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L58-L346">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -445,7 +445,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -226,7 +226,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L61-L97">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L61-L97">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -240,7 +240,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
|
||||
<div class="aside aside-throws">
|
||||
<p class="aside-title">Throws</p>
|
||||
<p><code><a href="../Enums/DeflateError.html">DeflateError</a></code> if unexpected byte (bit) sequence was encountered in <code>compressedData</code>.
|
||||
<p><code><a href="../Enums/DeflateError.html">DeflateError</a></code> if unexpected byte (bit) sequence was encountered in <code>compressedData</code>.
|
||||
It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.</p>
|
||||
|
||||
</div>
|
||||
@@ -226,7 +226,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L46-L50">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L79-L83">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -267,7 +267,7 @@ static Huffman is used in all other cases.
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L238-L294">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L271-L327">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -281,7 +281,7 @@ static Huffman is used in all other cases.
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -234,7 +234,79 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L198-L219">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L200-L221">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:ZFC13SWCompression11GzipArchive7archiveFzT4dataV10Foundation4Data_S2_"></a>
|
||||
<a name="//apple_ref/swift/Method/archive(data:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:ZFC13SWCompression11GzipArchive7archiveFzT4dataV10Foundation4Data_S2_">archive(data:)</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Archives <code>data</code> into GZip archive. Data will be also compressed with DEFLTATE algorithm.
|
||||
Fields in the header of the resulting archive will be set to default values
|
||||
(i.e. no mtime, no flags, no file name, unknown OS type).
|
||||
It will be also specified that the compressor used slowest DEFLATE algorithm.</p>
|
||||
|
||||
<p>If during compression something goes wrong <code><a href="../Enums/DeflateError.html">DeflateError</a></code> will be thrown.</p>
|
||||
|
||||
<div class="aside aside-note">
|
||||
<p class="aside-title">Note</p>
|
||||
<p>This function is specification compliant.</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="aside aside-throws">
|
||||
<p class="aside-title">Throws</p>
|
||||
<p><code><a href="../Enums/DeflateError.html">DeflateError</a></code> if an error was encountered during compression.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">archive</span><span class="p">(</span><span class="nv">data</span><span class="p">:</span> <span class="kt">Data</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-></span> <span class="kt">Data</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="graybox">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<code>
|
||||
<em>data</em>
|
||||
</code>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<p>Data to compress and archive.</p>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Return Value</h4>
|
||||
<p>Data object with resulting archive.</p>
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L239-L266">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -248,7 +320,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -226,7 +226,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L58-L63">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L58-L63">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -240,7 +240,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -226,7 +226,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L52-L59">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L52-L59">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -240,7 +240,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -230,7 +230,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L76-L143">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L76-L143">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -244,7 +244,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L82">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L82">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -272,7 +272,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L103-L132">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L103-L132">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -336,7 +336,7 @@ An error can indicate that the container is damaged.</p>
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L145-L204">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L145-L204">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -421,7 +421,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L227-L234">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L227-L234">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -435,7 +435,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -234,7 +234,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L143-L155">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L143-L155">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -248,7 +248,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+10
-10
@@ -195,7 +195,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L21-L35">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L21-L35">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -242,7 +242,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L24-L40">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L24-L40">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -292,7 +292,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L27-L48">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L27-L48">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -341,7 +341,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L26-L41">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L26-L41">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -386,7 +386,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L22-L36">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L22-L36">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -408,7 +408,7 @@ Associated value contains already decompressed data.</li>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Error happened during deflate decompression.
|
||||
<p>Error happened during deflate decompression.
|
||||
It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.</p>
|
||||
|
||||
<ul>
|
||||
@@ -429,7 +429,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L20-L29">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L20-L29">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -477,7 +477,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L25-L44">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L25-L44">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -528,7 +528,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L28-L55">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L28-L55">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -542,7 +542,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+10
-10
@@ -205,7 +205,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L27">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L27">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -239,7 +239,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L29">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L29">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -273,7 +273,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L31">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L31">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -307,7 +307,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L33">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L33">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -341,7 +341,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L35">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L35">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -375,7 +375,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L37">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L37">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -409,7 +409,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L39">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L39">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -443,7 +443,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L41">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L41">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -477,7 +477,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L43">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L43">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -491,7 +491,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p>Error happened during deflate decompression.
|
||||
<p>Error happened during deflate decompression.
|
||||
It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.</p>
|
||||
|
||||
<ul>
|
||||
@@ -200,7 +200,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L22">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L22">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -234,7 +234,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L24">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L24">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -268,7 +268,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L26">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L26">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -302,7 +302,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L28">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L28">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -316,7 +316,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -204,7 +204,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L26">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L26">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -238,7 +238,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L28">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L28">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -272,7 +272,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L30">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L30">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -306,7 +306,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L32">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L32">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -341,7 +341,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L37">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L37">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -375,7 +375,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L39">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L39">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -389,7 +389,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -201,7 +201,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L23">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L23">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -235,7 +235,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L25">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L25">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -269,7 +269,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L27">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L27">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -303,7 +303,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L29">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L29">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -338,7 +338,7 @@ amount of compressed data read was different from the one stored in LZMA2 packet
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L34">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L34">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -352,7 +352,7 @@ amount of compressed data read was different from the one stored in LZMA2 packet
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -206,7 +206,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L28">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L28">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -240,7 +240,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L30">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L30">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -274,7 +274,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L32">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L32">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -308,7 +308,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L34">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L34">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -342,7 +342,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L36">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L36">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -376,7 +376,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L38">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L38">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -410,7 +410,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L40">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L40">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -424,7 +424,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+11
-11
@@ -208,7 +208,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L30">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L30">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -242,7 +242,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L32">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L32">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -276,7 +276,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L34">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L34">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -310,7 +310,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L36">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L36">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -344,7 +344,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L38">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L38">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -378,7 +378,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L40">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L40">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -413,7 +413,7 @@ amount of compressed data read was different from the one stored in block header
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L45">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L45">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -448,7 +448,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L50">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L50">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -482,7 +482,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L52">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L52">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -516,7 +516,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L54">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L54">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -530,7 +530,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+11
-11
@@ -207,7 +207,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L29">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L29">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -241,7 +241,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L31">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L31">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -275,7 +275,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L33">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L33">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -309,7 +309,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L35">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L35">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -343,7 +343,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L37">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L37">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -377,7 +377,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L39">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L39">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -411,7 +411,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L41">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L41">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -445,7 +445,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L43">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L43">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -479,7 +479,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L45">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L45">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -513,7 +513,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L47">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L47">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -527,7 +527,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -202,7 +202,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L24">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L24">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -236,7 +236,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L26">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L26">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -270,7 +270,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L28">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L28">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -304,7 +304,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L30">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L30">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -339,7 +339,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L35">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L35">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -353,7 +353,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+3
-3
@@ -186,7 +186,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Protocols.swift#L12-L17">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Protocols.swift#L12-L17">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -217,7 +217,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Protocols.swift#L20-L25">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Protocols.swift#L20-L25">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -231,7 +231,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Protocols.swift#L15">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Protocols.swift#L15">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Protocols.swift#L23">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Protocols.swift#L23">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -186,7 +186,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L43-L177">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L43-L179">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -221,7 +221,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L51-L74">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L51-L74">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -256,7 +256,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L39-L122">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L39-L122">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -270,7 +270,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L54-L57">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L54-L57">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -224,7 +224,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L60-L71">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L60-L71">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -254,11 +254,22 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L74">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L74">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<div class="task-name-container">
|
||||
<a name="/TODO:%20Make%20it%20optional."></a>
|
||||
<a name="//apple_ref/swift/Section/TODO: Make it optional." class="dashAnchor"></a>
|
||||
<a href="#/TODO:%20Make%20it%20optional.">
|
||||
<h3 class="section-name">TODO: Make it optional.</h3>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="item-container">
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
@@ -284,7 +295,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L76">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L77">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -314,7 +325,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L78">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L79">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -344,7 +355,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L80">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L81">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -374,7 +385,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L82">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L83">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -433,7 +444,7 @@ it might not be compressed with gzip at all.</p>
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L95-L98">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L96-L99">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -447,7 +458,7 @@ it might not be compressed with gzip at all.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L56">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L56">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L62">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L62">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -226,7 +226,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L64">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L64">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -260,7 +260,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L66">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L66">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -294,7 +294,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L68">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L68">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -328,7 +328,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L70">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L70">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -342,7 +342,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L56-L58">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L56-L58">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -222,7 +222,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L61-L63">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L61-L63">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -252,7 +252,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L66-L68">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L66-L68">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -266,7 +266,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L42-L45">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L42-L45">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -224,7 +224,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L48-L57">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L48-L57">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -254,7 +254,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L60">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L60">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -284,7 +284,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L62">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L62">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -314,7 +314,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L64">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L64">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -373,7 +373,7 @@ it might not be compressed with zlib at all.</p>
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L76-L79">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L76-L79">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -387,7 +387,7 @@ it might not be compressed with zlib at all.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L50">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L50">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -226,7 +226,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L52">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L52">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -260,7 +260,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L54">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L54">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -294,7 +294,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L56">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L56">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -308,7 +308,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L44">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L44">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L38-L106">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L38-L106">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -221,7 +221,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L180-L221">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L182-L268">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -256,7 +256,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L77-L236">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L77-L236">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -291,7 +291,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L44-L90">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L44-L90">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -326,7 +326,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L125-L157">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L125-L157">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -361,7 +361,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L32-L475">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L32-L518">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -396,7 +396,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L47-L277">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L47-L277">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -431,7 +431,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L58-L346">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L58-L346">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -445,7 +445,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -226,7 +226,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L61-L97">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L61-L97">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -240,7 +240,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
|
||||
<div class="aside aside-throws">
|
||||
<p class="aside-title">Throws</p>
|
||||
<p><code><a href="../Enums/DeflateError.html">DeflateError</a></code> if unexpected byte (bit) sequence was encountered in <code>compressedData</code>.
|
||||
<p><code><a href="../Enums/DeflateError.html">DeflateError</a></code> if unexpected byte (bit) sequence was encountered in <code>compressedData</code>.
|
||||
It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.</p>
|
||||
|
||||
</div>
|
||||
@@ -226,7 +226,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L46-L50">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L79-L83">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -267,7 +267,7 @@ static Huffman is used in all other cases.
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L238-L294">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L271-L327">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -281,7 +281,7 @@ static Huffman is used in all other cases.
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+74
-2
@@ -234,7 +234,79 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L198-L219">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L200-L221">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:ZFC13SWCompression11GzipArchive7archiveFzT4dataV10Foundation4Data_S2_"></a>
|
||||
<a name="//apple_ref/swift/Method/archive(data:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:ZFC13SWCompression11GzipArchive7archiveFzT4dataV10Foundation4Data_S2_">archive(data:)</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Archives <code>data</code> into GZip archive. Data will be also compressed with DEFLTATE algorithm.
|
||||
Fields in the header of the resulting archive will be set to default values
|
||||
(i.e. no mtime, no flags, no file name, unknown OS type).
|
||||
It will be also specified that the compressor used slowest DEFLATE algorithm.</p>
|
||||
|
||||
<p>If during compression something goes wrong <code><a href="../Enums/DeflateError.html">DeflateError</a></code> will be thrown.</p>
|
||||
|
||||
<div class="aside aside-note">
|
||||
<p class="aside-title">Note</p>
|
||||
<p>This function is specification compliant.</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="aside aside-throws">
|
||||
<p class="aside-title">Throws</p>
|
||||
<p><code><a href="../Enums/DeflateError.html">DeflateError</a></code> if an error was encountered during compression.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">archive</span><span class="p">(</span><span class="nv">data</span><span class="p">:</span> <span class="kt">Data</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-></span> <span class="kt">Data</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="graybox">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<code>
|
||||
<em>data</em>
|
||||
</code>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<p>Data to compress and archive.</p>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Return Value</h4>
|
||||
<p>Data object with resulting archive.</p>
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L239-L266">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -248,7 +320,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -226,7 +226,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L58-L63">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L58-L63">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -240,7 +240,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -226,7 +226,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L52-L59">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L52-L59">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -240,7 +240,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -230,7 +230,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L76-L143">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L76-L143">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -244,7 +244,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+5
-5
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L82">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L82">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -272,7 +272,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L103-L132">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L103-L132">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -336,7 +336,7 @@ An error can indicate that the container is damaged.</p>
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L145-L204">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L145-L204">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -421,7 +421,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L227-L234">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L227-L234">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -435,7 +435,7 @@ It may indicate that either the container is damaged or it might not be ZIP cont
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -234,7 +234,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L143-L155">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L143-L155">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -248,7 +248,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -195,7 +195,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L21-L35">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L21-L35">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -242,7 +242,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L24-L40">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L24-L40">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -292,7 +292,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L27-L48">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L27-L48">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -341,7 +341,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L26-L41">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L26-L41">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -386,7 +386,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L22-L36">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L22-L36">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -408,7 +408,7 @@ Associated value contains already decompressed data.</li>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Error happened during deflate decompression.
|
||||
<p>Error happened during deflate decompression.
|
||||
It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.</p>
|
||||
|
||||
<ul>
|
||||
@@ -429,7 +429,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L20-L29">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L20-L29">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -477,7 +477,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L25-L44">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L25-L44">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -528,7 +528,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L28-L55">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L28-L55">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -542,7 +542,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+10
-10
@@ -205,7 +205,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L27">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L27">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -239,7 +239,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L29">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L29">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -273,7 +273,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L31">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L31">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -307,7 +307,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L33">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L33">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -341,7 +341,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L35">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L35">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -375,7 +375,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L37">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L37">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -409,7 +409,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L39">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L39">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -443,7 +443,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L41">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L41">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -477,7 +477,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/BZip2.swift#L43">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/BZip2.swift#L43">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -491,7 +491,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+6
-6
@@ -158,7 +158,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p>Error happened during deflate decompression.
|
||||
<p>Error happened during deflate decompression.
|
||||
It may indicate that either the data is damaged or it might not be compressed with DEFLATE at all.</p>
|
||||
|
||||
<ul>
|
||||
@@ -200,7 +200,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L22">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L22">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -234,7 +234,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L24">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L24">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -268,7 +268,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L26">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L26">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -302,7 +302,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Deflate.swift#L28">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Deflate.swift#L28">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -316,7 +316,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -204,7 +204,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L26">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L26">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -238,7 +238,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L28">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L28">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -272,7 +272,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L30">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L30">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -306,7 +306,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L32">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L32">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -341,7 +341,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L37">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L37">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -375,7 +375,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L39">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L39">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -389,7 +389,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+6
-6
@@ -201,7 +201,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L23">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L23">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -235,7 +235,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L25">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L25">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -269,7 +269,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L27">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L27">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -303,7 +303,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L29">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L29">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -338,7 +338,7 @@ amount of compressed data read was different from the one stored in LZMA2 packet
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA2.swift#L34">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA2.swift#L34">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -352,7 +352,7 @@ amount of compressed data read was different from the one stored in LZMA2 packet
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -206,7 +206,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L28">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L28">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -240,7 +240,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L30">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L30">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -274,7 +274,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L32">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L32">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -308,7 +308,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L34">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L34">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -342,7 +342,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L36">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L36">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -376,7 +376,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L38">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L38">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -410,7 +410,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/LZMA.swift#L40">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/LZMA.swift#L40">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -424,7 +424,7 @@ than the repeat length.</li>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -208,7 +208,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L30">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L30">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -242,7 +242,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L32">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L32">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -276,7 +276,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L34">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L34">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -310,7 +310,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L36">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L36">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -344,7 +344,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L38">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L38">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -378,7 +378,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L40">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L40">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -413,7 +413,7 @@ amount of compressed data read was different from the one stored in block header
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L45">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L45">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -448,7 +448,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L50">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L50">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -482,7 +482,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L52">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L52">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -516,7 +516,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/XZArchive.swift#L54">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/XZArchive.swift#L54">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -530,7 +530,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+11
-11
@@ -207,7 +207,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L29">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L29">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -241,7 +241,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L31">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L31">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -275,7 +275,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L33">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L33">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -309,7 +309,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L35">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L35">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -343,7 +343,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L37">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L37">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -377,7 +377,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L39">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L39">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -411,7 +411,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L41">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L41">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -445,7 +445,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L43">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L43">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -479,7 +479,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L45">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L45">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -513,7 +513,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L47">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L47">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -527,7 +527,7 @@ It may indicate that either the data is damaged or it might not be ZIP archive (
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -202,7 +202,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L24">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L24">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -236,7 +236,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L26">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L26">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -270,7 +270,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L28">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L28">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -304,7 +304,7 @@ Associated value contains already decompressed data.</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L30">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L30">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -339,7 +339,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L35">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L35">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -353,7 +353,7 @@ Associated value contains already decompressed data.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Protocols.swift#L12-L17">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Protocols.swift#L12-L17">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -217,7 +217,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Protocols.swift#L20-L25">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Protocols.swift#L20-L25">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -231,7 +231,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Protocols.swift#L15">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Protocols.swift#L15">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/Protocols.swift#L23">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/Protocols.swift#L23">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L43-L177">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L43-L179">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -221,7 +221,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L51-L74">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L51-L74">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -256,7 +256,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L39-L122">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L39-L122">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -270,7 +270,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+20
-9
@@ -193,7 +193,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L54-L57">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L54-L57">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -224,7 +224,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L60-L71">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L60-L71">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -254,11 +254,22 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L74">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L74">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<div class="task-name-container">
|
||||
<a name="/TODO:%20Make%20it%20optional."></a>
|
||||
<a name="//apple_ref/swift/Section/TODO: Make it optional." class="dashAnchor"></a>
|
||||
<a href="#/TODO:%20Make%20it%20optional.">
|
||||
<h3 class="section-name">TODO: Make it optional.</h3>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="item-container">
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
@@ -284,7 +295,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L76">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L77">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -314,7 +325,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L78">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L79">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -344,7 +355,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L80">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L81">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -374,7 +385,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L82">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L83">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -433,7 +444,7 @@ it might not be compressed with gzip at all.</p>
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L95-L98">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L96-L99">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -447,7 +458,7 @@ it might not be compressed with gzip at all.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L56">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L56">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+6
-6
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L62">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L62">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -226,7 +226,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L64">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L64">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -260,7 +260,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L66">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L66">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -294,7 +294,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L68">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L68">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -328,7 +328,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/GzipArchive.swift#L70">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/GzipArchive.swift#L70">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -342,7 +342,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L56-L58">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L56-L58">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -222,7 +222,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L61-L63">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L61-L63">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -252,7 +252,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZipContainer.swift#L66-L68">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZipContainer.swift#L66-L68">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -266,7 +266,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+7
-7
@@ -193,7 +193,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L42-L45">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L42-L45">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -224,7 +224,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L48-L57">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L48-L57">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -254,7 +254,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L60">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L60">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -284,7 +284,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L62">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L62">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -314,7 +314,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L64">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L64">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -373,7 +373,7 @@ it might not be compressed with zlib at all.</p>
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L76-L79">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L76-L79">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -387,7 +387,7 @@ it might not be compressed with zlib at all.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+5
-5
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L50">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L50">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -226,7 +226,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L52">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L52">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -260,7 +260,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L54">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L54">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -294,7 +294,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L56">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L56">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -308,7 +308,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.2.2/Sources/ZlibArchive.swift#L44">Show on GitHub</a>
|
||||
<a href="https://github.com/tsolomko/SWCompression/tree/v2.3.0/Sources/ZlibArchive.swift#L44">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@@ -304,7 +304,7 @@ which uses SWCompression for unarchiving several types of archives.</p>
|
||||
<a href='#why-is-it-so-slow' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='why-is-it-so-slow'>Why is it so slow?</h2>
|
||||
|
||||
<p>Version 2.0 came with a great performance improvement.
|
||||
Just look at the test results at ‘Tests/Test Result’.
|
||||
Just look at the test results in ‘Tests/Test Result’.
|
||||
So if it’s slow the first thing you should do is to make sure you are using version >= 2.0.</p>
|
||||
|
||||
<p>Is it still slow?
|
||||
@@ -346,7 +346,7 @@ so some difference in speed is expected.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
+2
-2
@@ -304,7 +304,7 @@ which uses SWCompression for unarchiving several types of archives.</p>
|
||||
<a href='#why-is-it-so-slow' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='why-is-it-so-slow'>Why is it so slow?</h2>
|
||||
|
||||
<p>Version 2.0 came with a great performance improvement.
|
||||
Just look at the test results at ‘Tests/Test Result’.
|
||||
Just look at the test results in ‘Tests/Test Result’.
|
||||
So if it’s slow the first thing you should do is to make sure you are using version >= 2.0.</p>
|
||||
|
||||
<p>Is it still slow?
|
||||
@@ -346,7 +346,7 @@ so some difference in speed is expected.</p>
|
||||
</div>
|
||||
<section class="footer">
|
||||
<p>© 2017 Timofey Solomko</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</body>
|
||||
</div>
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user