|
| static std::string | encode (const Buffer &data) |
| static Buffer | decode (const std::string &hex_data) |
| static bool | is (const std::string &data) |
◆ decode()
| Buffer privmx::endpoint::core::Hex::decode |
( |
const std::string & | hex_data | ) |
|
|
static |
Decodes string in Hex to buffer.
- Parameters
-
- Returns
- buffer with decoded data
◆ encode()
| std::string privmx::endpoint::core::Hex::encode |
( |
const Buffer & | data | ) |
|
|
static |
Encodes buffer to a string in Hex format.
- Parameters
-
- Returns
- string in Hex format
◆ is()
| bool privmx::endpoint::core::Hex::is |
( |
const std::string & | data | ) |
|
|
static |
Checks if given string is in Hex format.
- Parameters
-
- Returns
- data check result
The documentation for this class was generated from the following file: