Instance Method (Default implementation)swift 6.0.1Swift
decode(_:)
- iOS
- 18.0+
- macOS
- 15.0+
- tvOS
- 18.0+
- visionOS
- 2.0+
- watchOS
- 11.0+
func decode(_ type: UInt128.Type) throws -> UInt128
Implements
func decode(String.Type
) throws -> String Decodes a single value of the given type.
func decode(Bool.Type
) throws -> Bool Decodes a single value of the given type.
func decode(Double.Type
) throws -> Double Decodes a single value of the given type.
func decode(Float.Type
) throws -> Float Decodes a single value of the given type.
func decode(Int.Type
) throws -> Int Decodes a single value of the given type.
func decode(UInt.Type
) throws -> UInt Decodes a single value of the given type.
func decode<T>(T.Type
) throws -> T Decodes a single value of the given type.
func decode(Int8.Type
) throws -> Int8 Decodes a single value of the given type.
func decode(Int16.Type
) throws -> Int16 Decodes a single value of the given type.
func decode(Int32.Type
) throws -> Int32 Decodes a single value of the given type.
func decode(Int64.Type
) throws -> Int64 Decodes a single value of the given type.
func decode(UInt8.Type
) throws -> UInt8 Decodes a single value of the given type.
func decode(Int128.Type
) throws -> Int128 Decodes a single value of the given type.
func decode(UInt16.Type
) throws -> UInt16 Decodes a single value of the given type.
func decode(UInt32.Type
) throws -> UInt32 Decodes a single value of the given type.
func decode(UInt64.Type
) throws -> UInt64 Decodes a single value of the given type.
func decode(UInt128.Type
) throws -> UInt128 Decodes a single value of the given type.