Gazebo Common

API Reference

5.6.0

#include <Base64.hh>

Static Public Member Functions

static std::string Decode (const std::string &_encodedString)
 Decode a base64 string. More...
 
static void Encode (const char *_bytesToEncode, unsigned int _len, std::string &_result)
 Encode a binary string into base 64, padded with '='. More...
 

Member Function Documentation

◆ Decode()

static std::string Decode ( const std::string _encodedString)
static

Decode a base64 string.

Parameters
[in]_encodedStringA base 64 encoded string.
Returns
The decoded string.

◆ Encode()

static void Encode ( const char *  _bytesToEncode,
unsigned int  _len,
std::string _result 
)
static

Encode a binary string into base 64, padded with '='.

Parameters
[in]_bytesToEncodeString of bytes to encode.
[in]_lenLength of _bytesToEncode.
[out]_resultBased64 string is appended to this string.

The documentation for this class was generated from the following file: