diff --git a/Sources/App/configure.swift b/Sources/App/configure.swift index 098d84a..374012c 100755 --- a/Sources/App/configure.swift +++ b/Sources/App/configure.swift @@ -130,6 +130,8 @@ private func readElements(from url: URL) throws -> [Timestamped] where T: let file = url.lastPathComponent print("File \(file): Loaded \(data.count) bytes") + + let decoder = CBORDecoder() let timestampLength = 9 let byteCountLength = 2 @@ -159,7 +161,7 @@ private func readElements(from url: URL) throws -> [Timestamped] where T: let timestampData = data[startIndexOfTimestamp..