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

This commit is contained in:
2024-11-14 21:08:58 +11:00
parent c7185fa370
commit 14bd390114
3 changed files with 92 additions and 94 deletions

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))
}
}