CoreUtils/Base64.h
2025-02-06 14:34:11 -08:00

26 lines
423 B
C++

#ifndef __Base64_h__
#define __Base64_h__
#include "ZString.h"
#include "MString.h"
namespace coreutils {
///
/// Use the Base64 object when you need to translate character string
/// to/from base64 encoded strings.
///
class Base64 {
public:
bool isBase64(unsigned char c);
MString encode(ZString data);
MString decode(ZString b64data);
};
}
#endif