API Reference/PrivMX Endpoint Swift/Core
Base32
Contains helper methods to convert between Buffer
s and Base32-encoded std.strings
.
Static Methods
encode(data:)
Encodes buffer to a string in Base32 format.
Params
data
privmx.endpoint.core.Buffer
buffer to encode
Returns
std.string
·
string in Hex format
decode(base32_data:)
Decodes string in Base32 to buffer.
Params
base32_data
std.string
string to decode
Returns
privmx.endpoint.core.Buffer
·
buffer with decoded data
is(data:)
Checks if given string is in Base32 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