Data
extension Data: DbInValue, DbOutValue
Adds support for Data to be used in SQLite statements
-
Encodes data in base64Url format
Declaration
Swift
func base64UrlEncodedString() -> String
Return Value
Base64Url-encoded string
-
Initializer
Declaration
Swift
init?(base64UrlEncoded: String)
Parameters
base64UrlEncoded
base64Url-encoded string
-
Encodes data in hex format
Declaration
Swift
func hexEncodedString() -> String
Return Value
Hex-encoded string
-
Initializer
Declaration
Swift
init?(hexEncodedString hex: String)
Parameters
hex
Hex-encoded string