Xbasic

UUENCODE Function

Syntax

Output_String as C = UUENCODE(B blob)

Arguments

blob

A blob variable containing binary data, such as read from a JPEG image file.

Description

Encode (to string) binary data using UUEncode scheme (64 bits).

Discussion

UUENCODE() creates a character string by converting the format of binary data to 7 bit ASCII. UUENCODE() and UUDECODE() are typically used to send binary files through email.

Example

uuencode(char_to_blob("Rosemary"))-> (4F]S96UA
uudecode("(4F]S96UA  Rosemary

See Also