We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd97268 commit 6b328f9Copy full SHA for 6b328f9
stdlib/public/core/StringUTF8Validation.swift
@@ -1,3 +1,15 @@
1
+//===--- StringUTF8Validation.swift ---------------------------------------===//
2
+//
3
+// This source file is part of the Swift.org open source project
4
5
+// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
6
+// Licensed under Apache License v2.0 with Runtime Library Exception
7
8
+// See https://swift.org/LICENSE.txt for license information
9
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
11
+//===----------------------------------------------------------------------===//
12
+
13
private func _isUTF8MultiByteLeading(_ x: UInt8) -> Bool {
14
return (0xC2...0xF4).contains(x)
15
}
0 commit comments