0
string to hex conversion
how to convert string to hexadecimal in swift
2 ответов
+ 7
Please use a proper tag for showing programming language. Thanks!
0
extension Data {
func hexEncodedString() -> String {
return map { String(format: "%02hhx", $0) }.joined()
}
}
can any one explain how to use it in swift5