Files
frnetlib/include/frnetlib/Base64.h
T
Fred Nicolson 5a790e4caa Added version file. Moved things into correct namespace.
Added version file for getting library info.

Some stuff, like Base64/Sha1 wasn't in the fr namespace. Has been moved into it.
2018-07-12 12:10:55 +01:00

29 lines
533 B
C++

//
// Created by fred on 01/03/18.
//
#ifndef FRNETLIB_BASE64_H
#define FRNETLIB_BASE64_H
#include <string>
namespace fr
{
class Base64
{
public:
/*!
* Encodes a string into Base64
*
* @param input The string to encode
* @return The resulting encoded string
*/
static std::string encode(const std::string &input);
//There's no decode function at the moment. Maybe I'll write one eventually. Sorry.
private:
};
}
#endif //FRNETLIB_BASE64_H