There are two entry points. uuencode::encode and uuencode::decode just encode or decode the input data while uuencode::uuencode and uuencode::uudecode generates a properly formatted message (lines limited to 67 chars, length encoded into the first character).