#include <string>
#include "gazebo/util/system.hh"
Go to the source code of this file.
|
std::string | Base64Decode (const std::string &_encodedString) |
| Decode a base64 string. More...
|
|
void | Base64Encode (const char *_bytesToEncode, unsigned int _len, std::string &_result) |
| Encode a binary string into base 64. More...
|
|
§ Base64Decode()
std::string Base64Decode |
( |
const std::string & |
_encodedString | ) |
|
Decode a base64 string.
- Parameters
-
[in] | _encodedString | A base 64 encoded string. |
- Returns
- The decoded string.
§ Base64Encode()
void Base64Encode |
( |
const char * |
_bytesToEncode, |
|
|
unsigned int |
_len, |
|
|
std::string & |
_result |
|
) |
| |
Encode a binary string into base 64.
- Parameters
-
[in] | _bytesToEncode | String of bytes to encode. |
[in] | _len | Length of _bytesToEncode. |
[out] | _result | Based64 string is appended to this string. |