Main Page   Class Hierarchy   Compound List   File List   Compound Members  

XRBase64 Class Reference

#include <xrbase64.h>

List of all members.

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 = '='


Detailed Description

for some god forsaken reason, QT does not include Base64 conversion code. Here is something simple.


Member Data Documentation

const int XRBase64::MAX_LINE_LENGTH = 76 [static, protected]
 

this code is adapted from Wei Dai's public domain base64.cpp

const char XRBase64::vec [static, protected]
 

Initial value:

                "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"


The documentation for this class was generated from the following files:
Generated on Tue Feb 25 18:38:57 2003 for qutexr by doxygen1.2.15