metatext/Extensions/Data+Extensions.swift
2020-08-26 21:04:06 -07:00

9 lines
193 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
extension Data {
func hexEncodedString() -> String {
map { String(format: "%02hhx", $0) }.joined()
}
}