encode(_:forKey:)
- iOS
- 18.0+
- macOS
- 15.0+
- tvOS
- 18.0+
- visionOS
- 2.0+
- watchOS
- 11.0+
mutating func encode(_ value: Int128, forKey key: Self.Key) throws mutating func encode(_ value: Int128, forKey key: Self.Key) throws ss30KeyedEncodingContainerProtocolPsE6encode_6forKeyys6Int128V_0G0QztKF What are these?5IGZGimport Swiftprotocol KeyedEncodingContainerProtocolA type that provides a view into an encoder’s storage and is used to hold the encoded properties of an encodable type in a keyed manner.
@frozen struct Int128A 128-bit signed integer value type.
associatedtype Key : CodingKeymutating func encode(_ value: String, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: Bool, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: Double, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: Float, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: Int, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: UInt, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode<T>(_ value: T, forKey key: Self.Key) throws where T : Encodable Encodes the given value for the given key.
mutating func encode(_ value: Int8, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: Int16, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: Int32, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: Int64, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: UInt8, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: Int128, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: UInt16, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: UInt32, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: UInt64, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: UInt128, forKey key: Self.Key) throws Encodes the given value for the given key.
mutating func encode(_ value: UInt128, forKey key: Self.Key) throws mutating func encodeConditional<T>(_ object: T, forKey key: Self.Key) throws where T : AnyObject, T : Encodable mutating func encodeIfPresent(_ value: String?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: Bool?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: Double?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: Float?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: Int?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: UInt?, forKey key: Self.Key) throws mutating func encodeIfPresent<T>(_ value: T?, forKey key: Self.Key) throws where T : Encodable mutating func encodeIfPresent(_ value: Int8?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: Int16?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: Int32?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: Int64?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: UInt8?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: Int128?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: UInt16?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: UInt32?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: UInt64?, forKey key: Self.Key) throws mutating func encodeIfPresent(_ value: UInt128?, forKey key: Self.Key) throws