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

15 lines
296 B
Swift

// Copyright (c) 2018 Timofey Solomko
// Licensed under MIT License
//
// See LICENSE for license information
import Foundation
/// A type that represents an archive.
public protocol Archive {
/// Unarchive data from the archive.
static func unarchive(archive: Data) throws -> Data
}