Functions | Variables
base64.cpp File Reference
#include "../include/swarmio/transport/base64.h"
#include <iostream>
Include dependency graph for base64.cpp:

Go to the source code of this file.

Functions

std::string base64_decode (std::string const &encoded_string)
 
std::string base64_encode (unsigned char const *bytes_to_encode, unsigned int in_len)
 
static bool is_base64 (unsigned char c)
 

Variables

static const std::string base64_chars
 

Function Documentation

std::string base64_decode ( std::string const &  encoded_string)

Definition at line 87 of file base64.cpp.

std::string base64_encode ( unsigned char const *  bytes_to_encode,
unsigned int  in_len 
)

Definition at line 45 of file base64.cpp.

static bool is_base64 ( unsigned char  c)
inlinestatic

Definition at line 41 of file base64.cpp.

Variable Documentation

const std::string base64_chars
static
Initial value:
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"0123456789+/"

Definition at line 35 of file base64.cpp.



swarmros
Author(s):
autogenerated on Fri Apr 3 2020 03:42:48