diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-15 11:30:47 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-15 11:51:49 +0100 |
| commit | fabd59b7d1540900bd64590646c73c917706ecd8 (patch) | |
| tree | 6e4e6e56aea797917f0613ed135f4fd1c834a674 /Sources/WmapParser/Utils.swift | |
| parent | 969b6a6653699b9f8662feb7f42511740f96f84a (diff) | |
Diffstat (limited to 'Sources/WmapParser/Utils.swift')
| -rw-r--r-- | Sources/WmapParser/Utils.swift | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Sources/WmapParser/Utils.swift b/Sources/WmapParser/Utils.swift index 4886eb3..e88b072 100644 --- a/Sources/WmapParser/Utils.swift +++ b/Sources/WmapParser/Utils.swift @@ -96,7 +96,8 @@ extension WmapParser { return index } - /// Given the bytes buffer, finds the next non-empty line. + /// Given the bytes buffer, finds the next non-empty line without leading. + /// or trailing whitespace. @inline(__always) static func extractLine<T: Collection>(_ bytes: T, _ index: inout Int, _ length: Int) -> ( Int, Int |