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