Topic Path: Symbol Reference > Files > IdCoderUUE.pas
ContentsIndexHome
PreviousUpNext
IdCoderUUE.pas

Contains classes, types, constants, and variables needed to implement coders that use the UUEncode and UUDecode algorithms.

IdCoderUUE.pas contains classes, types, constants, and variables needed to implement coders that use the UUEncode and UUDecode algorithms. 

The UUEncode algorithm is designed to encode binary data into a 7-bit textual representation, called UUEncode, as established by UUCP (Unix-to-Unix Copy Program). 

UUEncode, like Base64, is an encoding mechanism designed to represent arbitrary sequences of byte data in a form that need not be humanly readable. UUEncode is often used to send EMail attachments in an environment that is not MIME-compliant, and also allows larger files to be divided into multi-part transmissions. 

The UUEncode algorithm represents 24-bit groups of input as output strings of 4 encoded characters. Proceeding from left to right, a 24-bit input group is formed by concatenating 3 8-bit input groups. These 24 bits are then treated as 4 concatenated 6-bit groups, each of which is translated into a single digit in the UUEncode alphabet. 

UUEncode differs from Base64 encoding by utilizing a different coding table, or alphabet, to represent the encoded output values. 

The UUEncode Alphabet can represented by the following encodings and values: 

 

Value 
Encoding 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 
51 
52 
53 
54 
55 
56 
57 
58 
59 
60 
61 
62 
63 
64 

IdCoder3To4.pas 

TIdEncoderUUE 

TIdDecoderUUE

Class 
Description 
Implements a decoder for data encoded using the UUEncode algorithm and the UUEncode alphabet. 
Implements support for the UUENcode alphabet in the UUEncode algorithm. 
Constant 
Description 
Represents the valid characters in the UUEncode alphabet. 
Variable 
Description 
Identifies the decoding table used by TIdDecoderUUE for the UUEncode alphabet. 
Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.