ns_uudecode - Binary-to-text decoding using "htuu" encoding
This command performs a text to potentially binary conversion, based on the base64 encoding scheme. The command is kept for backward compatibility, the command ns_base64decode should be used instead.
NOTE: This stype of encoding is sometimes called "htuu". This command converts the specified argument from RFC 1113 printable encoding format to its native representation. This technique is similar to the familiar Unix uuencode format in that it maps 6 binary bits to one ASCII character (or more aptly, 3 binary bytes to 4 ASCII characters). However, RFC 1113 does not use the same mapping to printable characters as uuencode.
In case, the result might contain binary content, it is recommend to use the option -binary, which causes the result to be a Tcl byte array.
oss2:nscp 7> ns_uuencode test dGVzdA== oss2:nscp 6> ns_uudecode dGVzdA== test