blob: 6c14aeb8662c315b3ef0e74d8b3d5b4d3f6ac664 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  | 
#ifndef JSON_BASE64_H
#define JSON_BASE64_H
#include "JSONDebug.h"
#ifdef JSON_BINARY  //if this is not needed, don't waste space compiling it
class JSONBase64 {
public:
	static json_string json_encode64(const unsigned char * binary, size_t bytes);
	static std::string json_decode64(const json_string & encoded);
};
#endif
#endif
  |