Import/export fixes, icon, and graphing
This commit is contained in:
@@ -429,9 +429,6 @@ struct ZipUtils {
|
||||
|
||||
let endRecord = data.subdata(in: endOfCentralDirOffset..<endOfCentralDirOffset + 22)
|
||||
let numEntries = endRecord.subdata(in: 8..<10).withUnsafeBytes { $0.load(as: UInt16.self) }
|
||||
let centralDirSize = endRecord.subdata(in: 12..<16).withUnsafeBytes {
|
||||
$0.load(as: UInt32.self)
|
||||
}
|
||||
let centralDirOffset = endRecord.subdata(in: 16..<20).withUnsafeBytes {
|
||||
$0.load(as: UInt32.self)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user