Required Static Methodswift-protobuf 1.29.0SwiftProtobuf
visitRepeated(value:fieldNumber:with:)
FieldTypes.swift:46static func visitRepeated<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
s13SwiftProtobuf9FieldTypeP13visitRepeated5value11fieldNumber4withySay04BaseD0QzG_Siqd__ztKAA7VisitorRd__lFZ
What are these?1R5LI
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol FieldType : Sendable
associatedtype BaseType : Hashable, Sendable
@frozen struct Int
A signed integer value type.
protocol Visitor
This is the key interface used by the generated traverse()
methods used for serialization. It is implemented by each serialization protocol: Protobuf Binary, Protobuf Text, JSON, and the Hash encoder.
static var proto3DefaultValue: BaseType { get }
static func decodeRepeated<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
static func visitPacked<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