A simple web server that can be bound to either the EthernetInterface or the WiflyInterface.
Dependents: Smart-WiFly-WebServer WattEye X10Svr SSDP_Server
Base64.h@12:109bf1558300, 2013-08-11 (annotated)
- Committer:
- WiredHome
- Date:
- Sun Aug 11 15:49:51 2013 +0000
- Revision:
- 12:109bf1558300
- Child:
- 13:8975d7928678
Added Base64 encode/decode, but not yet implementing it.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
WiredHome | 12:109bf1558300 | 1 | |
WiredHome | 12:109bf1558300 | 2 | |
WiredHome | 12:109bf1558300 | 3 | class Base64 |
WiredHome | 12:109bf1558300 | 4 | { |
WiredHome | 12:109bf1558300 | 5 | public: |
WiredHome | 12:109bf1558300 | 6 | Base64(); |
WiredHome | 12:109bf1558300 | 7 | ~Base64(); |
WiredHome | 12:109bf1558300 | 8 | char *base64_encode(const unsigned char *data, size_t input_length, size_t *output_length); |
WiredHome | 12:109bf1558300 | 9 | unsigned char *base64_decode(const char *data, size_t input_length, size_t *output_length); |
WiredHome | 12:109bf1558300 | 10 | private: |
WiredHome | 12:109bf1558300 | 11 | void build_decoding_table(); |
WiredHome | 12:109bf1558300 | 12 | char *decoding_table; |
WiredHome | 12:109bf1558300 | 13 | }; |