diff options
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 |