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