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 4961349 commit 2bb0f9dCopy full SHA for 2bb0f9d
Sources/OpenSwiftUICore/Data/Protobuf/ProtobufDecoder.swift
@@ -4,7 +4,7 @@
4
//
5
// Audited for iOS 18.0
6
// Status: Complete
7
-// ID: FFA06CAF6B06DC3E21EC75547A0CD421
+// ID: FFA06CAF6B06DC3E21EC75547A0CD421 (SwiftUICore)
8
9
package import Foundation
10
@@ -65,6 +65,8 @@ extension ProtobufDecoder {
65
return packedField
66
} else if packedEnd < ptr {
67
throw DecodingError.failed
68
+ } else {
69
+ packedField = Field(rawValue: 0)
70
}
71
72
let result = try decodeVariant()
Sources/OpenSwiftUICore/Data/Protobuf/ProtobufEncoder.swift
-// ID: C7B3AAD101AF9EA76FC322BD6EF713E6
+// ID: C7B3AAD101AF9EA76FC322BD6EF713E6 (SwiftUICore)
0 commit comments