\Horde_Mime_Uudecode

Class used to uudecode data.

Needed because PHP's built-in uudecode() method is broken.

Summary

Methods
Properties
Constants
__construct()
count()
getIterator()
No public properties found
UUENCODE_REGEX
_uudecode()
$_data
N/A
No private methods found
No private properties found
N/A

Constants

UUENCODE_REGEX

UUENCODE_REGEX

Properties

$_data

$_data : array

Uudecode data.

A list of arrays, with each array corresponding to a file in the input and containing the following keys:

  • data: (string) Unencoded data.
  • name: (string) Filename.
  • perms: (string) Octal permissions.

Type

array

Methods

__construct()

__construct(string  $input) 

Scans $input for uuencoded data and converts it to unencoded data.

Parameters

string $input

The input data

count()

count() 

getIterator()

getIterator() 

_uudecode()

_uudecode(string  $input) : string

PHP 5's built-in convert_uudecode() is broken. Need this wrapper.

Parameters

string $input

UUencoded input.

Returns

string —

Decoded string.