Required Instance Methodswift-protobuf 1.28.1SwiftProtobuf
decodeRepeatedUInt64Field(value:)
Decode uint64 values to repeated field storage
Decoder.swift:106mutating func decodeRepeatedUInt64Field(value: inout [UInt64]) throws
Other requirements
Instance members
func decodeExtensionField(values: inout ExtensionFieldValueSet, messageType: any Message.Type, fieldNumber: Int
) throws Decode an extension field
func decodeExtensionFieldsAsMessageSet(values: inout ExtensionFieldValueSet, messageType: any Message.Type
) throws func decodeMapField<KeyType, ValueType>(fieldType: _ProtobufEnumMap<KeyType, ValueType>.Type, value: inout _ProtobufEnumMap<KeyType, ValueType>.BaseType
) throws Decode a map whose values are protobuf enum types
func decodeMapField<KeyType, ValueType>(fieldType: _ProtobufMessageMap<KeyType, ValueType>.Type, value: inout _ProtobufMessageMap<KeyType, ValueType>.BaseType
) throws Decode a map whose values are protobuf message types
func decodeMapField<KeyType, ValueType>(fieldType: _ProtobufMap<KeyType, ValueType>.Type, value: inout _ProtobufMap<KeyType, ValueType>.BaseType
) throws Decode a map whose values are primitive types (including string and bytes)
func decodeRepeatedBoolField(value: inout [Bool]
) throws Decode bool values to repeated field storage
func decodeRepeatedBytesField(value: inout [Data]
) throws Decode bytes values to repeated field storage
func decodeRepeatedDoubleField(value: inout [Double]
) throws Decode double values to repeated field storage
func decodeRepeatedEnumField<E>(value: inout [E]
) throws Decode enum values to repeated field storage
func decodeRepeatedFixed32Field(value: inout [UInt32]
) throws Decode fixed32 values to repeated field storage
func decodeRepeatedFixed64Field(value: inout [UInt64]
) throws Decode fixed64 values to repeated field storage
func decodeRepeatedFloatField(value: inout [Float]
) throws Decode float values to repeated field storage
func decodeRepeatedGroupField<G>(value: inout [G]
) throws Decode group values to repeated field storage
func decodeRepeatedInt32Field(value: inout [Int32]
) throws Decode int32 values to repeated field storage
func decodeRepeatedInt64Field(value: inout [Int64]
) throws Decode int64 values to repeated field storage
func decodeRepeatedMessageField<M>(value: inout [M]
) throws Decode message values to repeated field storage
func decodeRepeatedSFixed32Field(value: inout [Int32]
) throws Decode sfixed32 values to repeated field storage
func decodeRepeatedSFixed64Field(value: inout [Int64]
) throws Decode sfixed64 values to repeated field storage
func decodeRepeatedSInt32Field(value: inout [Int32]
) throws Decode sint32 values to repeated field storage
func decodeRepeatedSInt64Field(value: inout [Int64]
) throws Decode sint64 values to repeated field storage
func decodeRepeatedStringField(value: inout [String]
) throws Decode string values to repeated field storage
func decodeRepeatedUInt32Field(value: inout [UInt32]
) throws Decode uint32 values to repeated field storage
func decodeSingularBoolField(value: inout Bool?
) throws Decode a bool value to
Optional
field storagefunc decodeSingularBoolField(value: inout Bool
) throws Decode a bool value to non-
Optional
field storagefunc decodeSingularBytesField(value: inout Data?
) throws Decode a bytes value to
Optional
field storagefunc decodeSingularBytesField(value: inout Data
) throws Decode a bytes value to non-
Optional
field storagefunc decodeSingularDoubleField(value: inout Double?
) throws Decode a double value to
Optional
field storagefunc decodeSingularDoubleField(value: inout Double
) throws Decode a double value to non-
Optional
field storagefunc decodeSingularEnumField<E>(value: inout E?
) throws Decode an enum value to
Optional
field storagefunc decodeSingularEnumField<E>(value: inout E
) throws Decode an enum value to non-
Optional
field storagefunc decodeSingularFixed32Field(value: inout UInt32?
) throws Decode a fixed32 value to
Optional
field storagefunc decodeSingularFixed32Field(value: inout UInt32
) throws Decode a fixed32 value to non-
Optional
field storagefunc decodeSingularFixed64Field(value: inout UInt64?
) throws Decode a fixed64 value to
Optional
field storagefunc decodeSingularFixed64Field(value: inout UInt64
) throws Decode a fixed64 value to non-
Optional
field storagefunc decodeSingularFloatField(value: inout Float?
) throws Decode a float value to
Optional
field storagefunc decodeSingularFloatField(value: inout Float
) throws Decode a float value to non-
Optional
field storagefunc decodeSingularGroupField<G>(value: inout G?
) throws Decode a group value to
Optional
field storage.func decodeSingularInt32Field(value: inout Int32?
) throws Decode an int32 value to
Optional
field storagefunc decodeSingularInt32Field(value: inout Int32
) throws Decode an int32 value to non-
Optional
field storagefunc decodeSingularInt64Field(value: inout Int64?
) throws Decode an int64 value to
Optional
field storagefunc decodeSingularInt64Field(value: inout Int64
) throws Decode an int64 value to non-
Optional
field storagefunc decodeSingularMessageField<M>(value: inout M?
) throws Decode a message value to
Optional
field storage.func decodeSingularSFixed32Field(value: inout Int32?
) throws Decode an sfixed32 value to
Optional
field storagefunc decodeSingularSFixed32Field(value: inout Int32
) throws Decode an sfixed32 value to non-
Optional
field storagefunc decodeSingularSFixed64Field(value: inout Int64?
) throws Decode an sfixed64 value to
Optional
field storagefunc decodeSingularSFixed64Field(value: inout Int64
) throws Decode an sfixed64 value to non-
Optional
field storagefunc decodeSingularSInt32Field(value: inout Int32?
) throws Decode an sint32 value to
Optional
field storagefunc decodeSingularSInt32Field(value: inout Int32
) throws Decode an sint32 value to non-
Optional
field storagefunc decodeSingularSInt64Field(value: inout Int64?
) throws Decode an sint64 value to
Optional
field storagefunc decodeSingularSInt64Field(value: inout Int64
) throws Decode an sint64 value to non-
Optional
field storagefunc decodeSingularStringField(value: inout String?
) throws Decode a string value to
Optional
field storagefunc decodeSingularStringField(value: inout String
) throws Decode a string value to non-
Optional
field storagefunc decodeSingularUInt32Field(value: inout UInt32?
) throws Decode a uint32 value to
Optional
field storagefunc decodeSingularUInt32Field(value: inout UInt32
) throws Decode a uint32 value to non-
Optional
field storagefunc decodeSingularUInt64Field(value: inout UInt64?
) throws Decode a uint64 value to
Optional
field storagefunc decodeSingularUInt64Field(value: inout UInt64
) throws Decode a uint64 value to non-
Optional
field storagefunc handleConflictingOneOf(
) throws Called by a
oneof
when it already has a value and is being asked to accept a new value. Some formats requireoneof
decoding to fail in this case.func nextFieldNumber(
) throws -> Int? Returns the next field number, or nil when the end of the input is reached.