mirror of
https://github.com/metabolist/metatext
synced 2024-12-18 12:28:35 +01:00
10 lines
193 B
Swift
10 lines
193 B
Swift
|
// Copyright © 2020 Metabolist. All rights reserved.
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
extension Data {
|
||
|
func hexEncodedString() -> String {
|
||
|
map { String(format: "%02hhx", $0) }.joined()
|
||
|
}
|
||
|
}
|