yep steam classes are faster...

This commit is contained in:
2024-11-14 00:57:29 +11:00
parent 451deb6aa3
commit da14fa8fd0
7 changed files with 54 additions and 38 deletions

View File

@ -18,7 +18,7 @@ public struct TarReader {
case directory(name: String)
}
public static func read<S: InputStream>(_ stream: inout S) throws -> [Entry] {
public static func read(_ stream: InputStream) throws -> [Entry] {
var entries = [Entry]()
while true {