40 G_EXCEPTION( Error ,
"base64 encoding error" ) ;
42 static std::string
encode(
const std::string & s ,
const std::string & line_break ) ;
45 static std::string
encode(
const std::string & ) ;
49 static std::string
decode(
const std::string & ,
bool strict =
false ) ;
53 static bool valid(
const std::string & ) ;
static bool valid(const std::string &)
Returns true if the string can be decoded without any strict errors.
static std::string decode(const std::string &, bool strict=false)
Decodes the given string.
static std::string encode(const std::string &s, const std::string &line_break)
Encodes the given string.