// Copyright (c) 2017 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information import Foundation #if os(Linux) import CoreFoundation #endif extension DataWithPointer { func getZipStringField(_ length: Int, _ useUtf8: Bool) -> String? { guard length > 0 else { return "" } let stringData = self.data[self.index..