decode(_:from:)

Decodes an instance of the indicated type.

Declaration

func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable