Static Methodswift 6.0.1Swift

decodeCString(_:as:repairingInvalidCodeUnits:)

This declaration is deprecated: Use a copy of the String argument

static func decodeCString<Encoding>(_ cString: String, as encoding: Encoding.Type, repairingInvalidCodeUnits isRepairing: Bool = true) -> (result: String, repairsMade: Bool)? where Encoding : _UnicodeEncoding