We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e40a2d commit 7ff34a4Copy full SHA for 7ff34a4
packages/native-hce-module/ios/RTNHCEModuleIOSImpl.swift
@@ -13,13 +13,8 @@ extension StringProtocol {
13
}
14
15
extension Data {
16
- struct HexEncodingOptions: OptionSet {
17
- let rawValue: Int
18
- static let upperCase = HexEncodingOptions(rawValue: 1 << 0)
19
- }
20
-
21
- func hexEncodedString(options: HexEncodingOptions = []) -> String {
22
- let format = options.contains(.upperCase) ? "%02hhX" : "%02hhx"
+ func hexEncodedString() -> String {
+ let format = "%02hhX"
23
return map { String(format: format, $0) }.joined()
24
25
0 commit comments