Documentation
¶
Overview ¶
Package uuencode implements the POSIX uuencode utility.
It writes an encoded version of the input to the standard output, either with the historical algorithm or, with -m, with base64. The output opens with a "begin" header holding the mode bits and the name uudecode needs to recreate the file, and closes with the trailer of each algorithm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Prog ¶
Prog is the uuencode core utility.
func (*Prog) Run ¶
Run writes the encoding of the input to the standard output. The standard input is used when no file operand is given, and also when it's "-". The header announces the permission bits of the input file, or the default file creation mode when reading the standard input.
Reading is interrupted when ctx is done, and the context error is returned.