A simple web server that can be bound to either the EthernetInterface or the WiflyInterface.
Dependents: Smart-WiFly-WebServer WattEye X10Svr SSDP_Server
Diff: Base64.h
- Revision:
- 12:109bf1558300
- Child:
- 13:8975d7928678
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Base64.h Sun Aug 11 15:49:51 2013 +0000 @@ -0,0 +1,13 @@ + + +class Base64 +{ +public: + Base64(); + ~Base64(); + char *base64_encode(const unsigned char *data, size_t input_length, size_t *output_length); + unsigned char *base64_decode(const char *data, size_t input_length, size_t *output_length); +private: + void build_decoding_table(); + char *decoding_table; +}; \ No newline at end of file