Files
SWCompression/Sources/ZIP/ZipEntry.swift
2021-01-11 11:20:57 +02:00

21 lines
400 B
Swift

// Copyright (c) 2021 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
}
}