Flatten TextInputStream wrapper and allow lines to be used directly on InputStream

This commit is contained in:
a_dinosaur committed 2024-11-14 21:08:58 +11:00
1 parent c7185fa370
commit 14bd390114
3 files changed
+92 -94

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ public struct ApkIndexUpdater {
}
return try ApkIndex(raw:
try ApkRawIndex(lines: TextInputStream(binaryStream: MemoryInputStream(buffer: apkIndexFile)).lines))
try ApkRawIndex(lines: MemoryInputStream(buffer: apkIndexFile).lines))
}
}