EHS/include/ehs/Base64.h

24 lines
316 B
C++

#pragma once
#include "EHS.h"
#include "Str.h"
namespace ehs
{
class EHS_LIB_IO Base64
{
private:
static const char ascii[];
public:
static Str_8 Encode(const Str_8 &input);
static Str_8 Decode(const Str_8 &input);
private:
static char Find(char c);
static bool IsBase64(char c);
};
}