24 lines
315 B
C++
24 lines
315 B
C++
#pragma once
|
|
|
|
#include "EHS.h"
|
|
#include "Str.h"
|
|
|
|
namespace lwe
|
|
{
|
|
class 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(const char c);
|
|
|
|
static bool IsBase64(const char c);
|
|
|
|
};
|
|
} |