#include <base64_encoder.h>
Operations | |
| void | reset () |
| Resets the encoder. | |
| void | feed (const void *data, int size, bool append_result=true) |
| Feeds the encoder with more data. | |
| void | finalize (bool append_result=true) |
| Ends the base64 encoding. | |
| static CL_String8 | encode (const void *data, int size) |
| Base64 encodes data and returns it as an 8 bit string. | |
| static CL_String8 | encode (const CL_StringRef8 &data) |
| Encode. | |
| static CL_String8 | encode (const CL_DataBuffer &data) |
| Encode. | |
Public Member Functions | |
Construction | |
| CL_Base64Encoder () | |
| Constructs a base64 encoder. | |
Attributes | |
| CL_DataBuffer & | get_result () |
| Returns the data in encoded form. | |
|
|
Constructs a base64 encoder.
|
|
|
Encode.
|
|
|
Encode.
|
|
||||||||||||
|
Base64 encodes data and returns it as an 8 bit string.
|
|
||||||||||||||||
|
Feeds the encoder with more data.
|
|
|
Ends the base64 encoding.
|
|
|
Returns the data in encoded form.
|
|
|
Resets the encoder.
|
1.4.6