|
NetMauMau
0.24.0
Client API
|
#include <ibase64.h>
Interface to provide an own implementation of the Base64 algorithm.
The algorithm used to encode/decode Base64-encoded data is defined in RFC 2045.
interface anymorePublic Member Functions | |
| virtual std::vector< unsigned char > | decode (std::string const &base64) const =0 |
| Decode Base64 data. | |
| virtual std::string | encode (unsigned char const *buf, unsigned int bufLen) const =0 |
| Encode to Base64 data. | |
|
pure virtual |
Decode Base64 data.
The algorithm used to decode Base64-encoded data is defined in RFC 2045.
| base64 | Base64-encoded data |
|
pure virtual |
Encode to Base64 data.
The algorithm used to encode Base64-encoded data is defined in RFC 2045.
| buf | the data to get encoded |
| bufLen | length of the data to get encoded |
1.8.1.2