mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-03 21:41:31 +00:00
Flatten TextInputStream wrapper and allow lines to be used directly on InputStream
This commit is contained in:
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user