#include <xrbase64.h>
Static Public Methods | |
QByteArray | decode (QString ascii) |
QString | encode (const QByteArray &bin) |
Static Protected Methods | |
int | convertToNumber (char a_byte) |
Static Protected Attributes | |
const int | MAX_LINE_LENGTH = 76 |
const char | vec [] |
const char | padding = '=' |
|
this code is adapted from Wei Dai's public domain base64.cpp |
|
Initial value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |