Required Initializerswift-protobuf 1.29.0SwiftProtobuf
init(protobufExtension:decoder:)
ExtensionFields.swift:55init?<D>(protobufExtension: any AnyMessageExtension, decoder: inout D) throws where D : Decoder
init?<D>(protobufExtension: any AnyMessageExtension, decoder: inout D) throws where D : Decoder
s13SwiftProtobuf14ExtensionFieldP08protobufC07decoderxSgAA010AnyMessageC0_p_qd__ztKcAA7DecoderRd__lufc
What are these?6LDQD
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol ExtensionField : Hashable, AnyExtensionField
The regular ExtensionField type exposes the value directly.
@preconcurrency protocol AnyMessageExtension : Sendable
Type-erased MessageExtension field implementation.
protocol Decoder
Abstract protocol used by the generated code to deserialize data.
associatedtype ValueType
init(protobufExtension: any AnyMessageExtension, value: ValueType)
var value: ValueType { get set }