encoding_decoding_uuencode
Encode binary data into 7-bit ASCII uuencode format for legacy email attachments, or decode uuencoded blocks back to the original content.
Instructions
UUEncode And UUDecode Binary Data. Classic Unix uuencode/uudecode: convert arbitrary text or binary into a 7-bit ASCII envelope (begin perm name ... end) and back. Set operation=encode to wrap data, operation=decode to recover it. Use this for legacy email/Usenet attachments and Unix file transfer. Prefer encoding_decoding_xxencode for 8-bit-safe Usenet variants, encoding_decoding_binhex for Macintosh resource-fork files, or encoding_decoding_base64 for modern MIME. Pure compute: read-only, non-destructive, stateless, runs offline, no auth; default rate limit 60 requests/minute. Returns the encoded/decoded result plus file_info header metadata and size stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Data to process: plain text to encode, or a full uuencoded block (begin...end) to decode. | |
| operation | Yes | encode wraps text into uuencode; decode extracts the original data from a uuencoded block. | |
| filename | No | Name written into the begin header (encode only); ignored on decode. | data.txt |
| permissions | No | 3-digit octal Unix mode in the begin header (encode only); ignored on decode. | 644 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the operation succeeded. | |
| input | No | Echo of the submitted text. | |
| operation | No | The operation performed. | |
| filename | No | Filename used (encode) or parsed from the header (decode). | |
| permissions | No | Octal mode used (encode) or parsed from the header (decode). | |
| result | No | Uuencoded block (encode) or recovered data (decode). | |
| file_info | No | Header metadata parsed on decode; null on encode. | |
| stats | No | Size metrics. |