Main Page   Class Hierarchy   Compound List   File List   Compound Members  

wxBase64 Class Reference

Helper class for encoding / decoding base64. More...

#include <base64.h>

List of all members.

Static Public Methods

wxString Encode (const wxUint8 *pData, size_t length)
 Converts a byte array to a base64 encoded string. More...

wxString Decode (const wxString &data)
 Decodes a base64 encoded string. More...


Detailed Description

Helper class for encoding / decoding base64.

Definition at line 22 of file base64.h.


Member Function Documentation

wxString wxBase64::Decode const wxString &    data [static]
 

Decodes a base64 encoded string.

Parameters:
data  The base64 encoded string.
Returns:
The decoded binary string (may contain 0).

Definition at line 79 of file base64.cpp.

wxString wxBase64::Encode const wxUint8 *    pData,
size_t    len
[static]
 

Converts a byte array to a base64 encoded string.

Parameters:
pData  The byte array.
length  The length of the byte array.
Returns:
The base64 representation of the byte array.

Definition at line 30 of file base64.cpp.

Referenced by wxMimePart::Encode().


Generated on Mon May 6 01:14:20 2002 for Wino by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001