diff --git a/r2-streamer-swift/Toolkit/ZIPArchive/ZIPArchive.swift b/r2-streamer-swift/Toolkit/ZIPArchive/ZIPArchive.swift index 43c1c9d6..faf50e8a 100644 --- a/r2-streamer-swift/Toolkit/ZIPArchive/ZIPArchive.swift +++ b/r2-streamer-swift/Toolkit/ZIPArchive/ZIPArchive.swift @@ -227,7 +227,8 @@ internal class ZipArchive: Loggable { /// - Parameter x: The number of bytes to advance the current offset to. internal func seek(_ offset: Int) throws { let isCompressed = try informationsOfCurrentFile().isCompressed - if isCompressed { + // FIXME: https://github.com/readium/r2-shared-swift/issues/98 + if true || isCompressed { // Deflate is stream-based, so we need to read the bytes from the beginning and discard // them until we reach the offset. let ioffset = Int(offset)