class KCodecs


Definition#include <kmdcodec.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Static Methods


Detailed Description

QString  uuencode ( const QString& data )

uuencode

[static]

This method encodes the given string using the unix uuencode encoding.

The output is split into lines starting with the number of encoded octets in the line and ending with a newline. No line is longer than 45 octets (60 characters), excluding the line terminator.

<em>Note:</em> data should be just the actual data ; any 'begin' and 'end' lines such as those generated by *nix uuencode utility must not be included.

Parameters:
datathe data

Returns: the uuencoded <var>data</var>

QString  uudecode ( const QString& data )

uudecode

[static]

This method decodes the given uuencoded string.

<em>Note:</em> data should be just the actual data. Any 'begin' and 'end' lines such as those generated by *nix uuencode utility must not be included.

Parameters:
datathe uuencode-encoded data.

Returns: the decoded data.

QString  base64Encode ( const QString& data )

base64Encode

[static]

This method encodes the given string using the base64-encoding specified in RFC-2045 (Section 6.8). It's used for example in the "Basic" authorization scheme (RFC 2617).

Parameters:
datathe string.

Returns: the base64-encoded string.

QString  base64Decode ( const QString& data )

base64Decode

[static]

This method decodes the given string using the base64-encoding as specified in RFC-2045 (Section 6.8).

Parameters:
datathe base64-encoded string.

Returns: the decoded string.

QString  encodeString ( const QString& data )

encodeString

[static]

QString  decodeString ( const QString& data )

decodeString

[static]


Generated by: faure on ftp.kde.com on Wed Jun 20 14:22:19 2001, using kdoc 2.0a53.