import Foundation

public extension Collection where Element == UInt8 {
    func toHexString () -> String {
        return "0x" + map{ String(format: "%02X", $0) }.joined()