|
C++ edjLibrary SDK
|
Various helper functions. More...
Functions | |
| std::vector< uint8_t > | to_bytes (const std::string &str) |
| Convert a string to a vector of bytes. More... | |
| std::string | to_string (const std::vector< uint8_t > &vec) |
| Convert a vector of bytes to a string. More... | |
Various helper functions.
| std::vector< uint8_t > edjx::utils::to_bytes | ( | const std::string & | str | ) |
Convert a string to a vector of bytes.
| str | String |
| std::string edjx::utils::to_string | ( | const std::vector< uint8_t > & | vec | ) |
Convert a vector of bytes to a string.
| vec | Vector of ASCII bytes |