Data
extension Data: DataParameter, StringParameter
extension Data: BasicType
extension Data: WrapperCompatible
extension Data: AnyModel
-
Undocumented
Declaration
Swift
public var dataValue: Data { get }
-
Undocumented
Declaration
Swift
public var stringValue: String { get }
-
Undocumented
Declaration
Swift
public static func encoded<T>(_ value: T, using encoder: AnyEncoder = JSONEncoder()) throws -> Data where T : Encodable
-
Undocumented
Declaration
Swift
public func decoded<T>(using decoder: AnyDecoder = JSONDecoder(), as type: T.Type = T.self) throws -> T where T : Decodable