File: base64.man

package info (click to toggle)
tcltrf 2.1.4-dfsg3-8
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,656 kB
  • sloc: ansic: 73,139; sh: 3,155; tcl: 1,343; makefile: 182; exp: 22
file content (33 lines) | stat: -rw-r--r-- 842 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[vset    encoding base64]
[include encoding/header.inc]

[para]

This encoding transforms every block of three bytes into a block of
four bytes, each of which is printable, i.e. 7bit ASCII. This implies
that the result is valid UTF-8 too.

The command uses essentially the same algorithm as for [cmd uuencode],
except for a different mapping from 6-bit fragments to printable
bytes.

[include encoding/middle.inc]

[section NOTES]

[list_begin enum]

[enum]
The encoding is equivalent to PGP's ASCII armor and was also accepted
as one of the MIME encodings for encapsulation of binary data.

See RFC 2045 ([uri http://www.rfc-editor.org/rfc/rfc2045.txt]) for
details and the specification of this encoding.

[enum]
The encoding buffers 2 bytes.
[list_end]

[keywords uuencode {rfc 2045} mime pgp {ascii armor}]
[include encoding/footer.inc]