Adjusted workflow.
This commit is contained in:
24
include/ehs/Base64.h
Normal file
24
include/ehs/Base64.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "EHS.h"
|
||||
#include "Str.h"
|
||||
|
||||
namespace ehs
|
||||
{
|
||||
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);
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user