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 8ca982b commit fa2c5c5Copy full SHA for fa2c5c5
Sources/WSCore/String+validatingString.swift
@@ -17,7 +17,7 @@ import NIOCore
17
extension String {
18
init?(buffer: ByteBuffer, validateUTF8: Bool) {
19
#if compiler(>=6)
20
- if #available(macOS 15, iOS 18, tvOS 18, watchOS 11, *), validateUTF8 {
+ if #available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *), validateUTF8 {
21
do {
22
var buffer = buffer
23
self = try buffer.readUTF8ValidatedString(length: buffer.readableBytes)!
0 commit comments