Class dom_xmlrpc_base64

Description

A base64 encoding / decoding utility

Located in /includes/domit/dom_xmlrpc_base64.php (line 22)


	
			
Variable Summary
string $stringData
Method Summary
mixed convertToRFC2045 (mixed $stringData)
mixed &decode (string $stringData)
mixed &encode (mixed $binaryData)
void fromBinary (mixed $binaryData)
void fromFile (string $fileName)
void fromString (string $stringData)
mixed &getBinary ()
string getEncoded ()
Variables
string $stringData (line 24)
  • var: A base64 encoded string representation of the original binary data
Methods
convertToRFC2045 (line 62)

Returns the specified string, chunked according to the RFC2045 specification (\r\n every 76 chars)

  • return: The RFC2045 chunked string
mixed convertToRFC2045 (mixed $stringData)
  • mixed $stringData: The string input
decode (line 81)

Returns decoded base64 binary data

  • return: Base64 decoded data
mixed &decode (string $stringData)
  • string $stringData: The base64 encoded input
encode (line 71)

Returns base64 encoded binary data

  • return: The base64 encoded data
mixed &encode (mixed $binaryData)
  • mixed $binaryData: The binary input
fromBinary (line 30)

Encodes binary data as a base64 encoded string and stores it in $stringData

void fromBinary (mixed $binaryData)
  • mixed $binaryData: The binary data
fromFile (line 39)

Imports the specified file, encodes it as a base64 encoded string and stores it in $stringData

void fromFile (string $fileName)
  • string $fileName: The file path
fromString (line 50)

Encodes the specified string as a base64 encoded string and stores it in $stringData

void fromString (string $stringData)
  • string $stringData: The string input
getBinary (line 90)

Returns a base64 decoded representation of $stringData

  • return: A base64 decoded representation of $stringData
mixed &getBinary ()
getEncoded (line 98)

Returns the (base64 encoded) contents of $stringData

  • return: The (base64 encoded) contents of $stringData
string getEncoded ()

Documentation generated on Fri, 4 Mar 2005 13:55:59 +1000 by phpDocumentor 1.3.0RC3