Static Methodswift-protobuf 1.29.0SwiftProtobuf
decodeSingular(value:from:)
FieldTypes.swift:179static func decodeSingular<D>(value: inout BaseType?, from decoder: inout D) throws where D : Decoder
static func decodeSingular<D>(value: inout BaseType?, from decoder: inout D) throws where D : Decoder
s13SwiftProtobuf0B6UInt32V14decodeSingular5value4fromys0C0VSgz_xztKAA7DecoderRzlFZ
What are these?1Q26J
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct ProtobufUInt32
UInt32
typealias BaseType = UInt32
protocol Decoder
Abstract protocol used by the generated code to deserialize data.
static var proto3DefaultValue: UInt32 { get }
static func decodeRepeated<D>(value: inout [BaseType], from decoder: inout D) throws where D : Decoder
static func visitPacked<V>(value: [BaseType], fieldNumber: Int, with visitor: inout V) throws where V : Visitor
static func visitRepeated<V>(value: [BaseType], fieldNumber: Int, with visitor: inout V) throws where V : Visitor
static func visitSingular<V>(value: BaseType, fieldNumber: Int, with visitor: inout V) throws where V : Visitor