You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed NSError to custom private Error enum in String.streamHexBytes because NSError was throwing "error: use of unresolved identifier 'NSError'" in travis ci tests
Copy file name to clipboardExpand all lines: Sources/CryptoSwift/String+Extension.swift
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ extension String {
84
84
85
85
// Allows str.hexToBytes() and Array<UInt8>(hex: str) to share the same code
86
86
// Old functionality returns a blank array upon encountering a non hex character so this method must throw in order to replicate that in methods relying on this method. (ex. "ffn" should return [] instead of [255])
87
-
// Consider switching NSError to custom Error enum
0 commit comments