Files
SWCompression/Sources/ZIP/ZipEntry.swift
T
2018-01-03 19:44:18 +03:00

21 lines
400 B
Swift

// Copyright (c) 2018 Timofey Solomko
// Licensed under MIT License
//
// See LICENSE for license information
import Foundation
/// Represents an entry from the ZIP container.
public struct ZipEntry: ContainerEntry {
public let info: ZipEntryInfo
public let data: Data?
init(_ entryInfo: ZipEntryInfo, _ data: Data?) {
self.info = entryInfo
self.data = data
}
}