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: _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 decodeRepeatedUInt64Field(value: inout [UInt64]) throws
Decode uint64 values to repeated field storage
func decodeSingularBoolField(value: inout Bool?) throws
Decode a bool value to Optional
field storage
func decodeSingularBoolField(value: inout Bool) throws
Decode a bool value to non-Optional
field storage
func decodeSingularBytesField(value: inout Data?) throws
Decode a bytes value to Optional
field storage
func decodeSingularBytesField(value: inout Data) throws
Decode a bytes value to non-Optional
field storage
func decodeSingularDoubleField(value: inout Double?) throws
Decode a double value to Optional
field storage
func decodeSingularDoubleField(value: inout Double) throws
Decode a double value to non-Optional
field storage
func decodeSingularEnumField<E>(value: inout E?) throws
Decode an enum value to Optional
field storage
func decodeSingularEnumField<E>(value: inout E) throws
Decode an enum value to non-Optional
field storage
func decodeSingularFixed32Field(value: inout UInt32?) throws
Decode a fixed32 value to Optional
field storage
func decodeSingularFixed32Field(value: inout UInt32) throws
Decode a fixed32 value to non-Optional
field storage
func decodeSingularFixed64Field(value: inout UInt64?) throws
Decode a fixed64 value to Optional
field storage
func decodeSingularFixed64Field(value: inout UInt64) throws
Decode a fixed64 value to non-Optional
field storage
func decodeSingularFloatField(value: inout Float?) throws
Decode a float value to Optional
field storage
func decodeSingularFloatField(value: inout Float) throws
Decode a float value to non-Optional
field storage
func 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 storage
func decodeSingularInt32Field(value: inout Int32) throws
Decode an int32 value to non-Optional
field storage
func decodeSingularInt64Field(value: inout Int64?) throws
Decode an int64 value to Optional
field storage
func decodeSingularInt64Field(value: inout Int64) throws
Decode an int64 value to non-Optional
field storage
func 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 storage
func decodeSingularSFixed32Field(value: inout Int32) throws
Decode an sfixed32 value to non-Optional
field storage
func decodeSingularSFixed64Field(value: inout Int64?) throws
Decode an sfixed64 value to Optional
field storage
func decodeSingularSFixed64Field(value: inout Int64) throws
Decode an sfixed64 value to non-Optional
field storage
func decodeSingularSInt32Field(value: inout Int32?) throws
Decode an sint32 value to Optional
field storage
func decodeSingularSInt32Field(value: inout Int32) throws
Decode an sint32 value to non-Optional
field storage
func decodeSingularSInt64Field(value: inout Int64?) throws
Decode an sint64 value to Optional
field storage
func decodeSingularSInt64Field(value: inout Int64) throws
Decode an sint64 value to non-Optional
field storage
func decodeSingularStringField(value: inout String?) throws
Decode a string value to Optional
field storage
func decodeSingularStringField(value: inout String) throws
Decode a string value to non-Optional
field storage
func decodeSingularUInt32Field(value: inout UInt32?) throws
Decode a uint32 value to Optional
field storage
func decodeSingularUInt32Field(value: inout UInt32) throws
Decode a uint32 value to non-Optional
field storage
func decodeSingularUInt64Field(value: inout UInt64?) throws
Decode a uint64 value to Optional
field storage
func decodeSingularUInt64Field(value: inout UInt64) throws
Decode a uint64 value to non-Optional
field storage
func handleConflictingOneOf() throws
Called by a oneof
when it already has a value and is being asked to accept a new value. Some formats require oneof
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.