mirror of https://github.com/layters/testshop
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
375 B
16 lines
375 B
#pragma once
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace neroshop {
|
|
|
|
extern std::string base64_encode(const std::string& input);
|
|
extern std::string base64_decode(const std::string& encoded);
|
|
|
|
// untested
|
|
extern std::string base64_image_encode(const std::string& image_path);
|
|
extern std::vector<char> base64_image_decode(const std::string& encoded);
|
|
}
|