Required Instance Methodswift 6.0.1Swift

encode(_:)

Encodes the given value.

iOS
18.0+
macOS
15.0+
tvOS
18.0+
visionOS
2.0+
watchOS
11.0+
mutating func encode(_ value: Int128) throws

Parameters

value

The value to encode.

Throws

EncodingError.invalidValue if the given value is invalid in the current context for this format.