encode(contentsOf:)
Encodes the elements of the given sequence.
- iOS
- 18.0+
- macOS
- 15.0+
- tvOS
- 18.0+
- visionOS
- 2.0+
- watchOS
- 11.0+
mutating func encode<T>(contentsOf sequence: T) throws where T : Sequence, T.Element == Int128
Parameters
- sequence
The sequences whose contents to encode.
Throws
An error if any of the contained values throws an error.