API Reference/PrivMX Endpoint Swift/Core
Hex
Contains helper methods to convert between Buffer
s and Hex-encoded std.strings
.
Static Methods
encode(data:)
Encodes buffer to a string in Hex format.
Params
data
privmx.endpoint.core.Buffer
buffer to encode
Returns
std.string
·
string in Hex format
decode(hex_data:)
Decodes string in Hex to buffer.
Params
hex_data
std.string
string to decode
Returns
privmx.endpoint.core.Buffer
·
buffer with decoded data
is(data:)
Checks if given string is in Hex format.
Params
data
std.string
string to check
Returns
Bool
·
check result
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.
PrivMX Endpoint Swift v2.3
This package is not up to date with the core documentation. Some of the features you've seen described in other parts of the documentation might not be mentioned here. Those changes do not influence compatibility, however