12 lines
230 B
C++
12 lines
230 B
C++
#ifndef _BASE64_H_
|
|
#define _BASE64_H_
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
typedef unsigned char BYTE;
|
|
|
|
std::string base64_encode(BYTE const* buf, unsigned int bufLen);
|
|
std::vector<BYTE> base64_decode(std::string const&);
|
|
|
|
#endif
|