1MIME::Decoder::Base64(3U)ser Contributed Perl DocumentatiMoInME::Decoder::Base64(3)
2
3
4
6 MIME::Decoder::Base64 - encode/decode a "base64" stream
7
9 A generic decoder object; see MIME::Decoder for usage.
10
12 A MIME::Decoder subclass for the "base64" encoding. The name was
13 chosen to jibe with the pre-existing MIME::Base64 utility package,
14 which this class actually uses to translate each chunk.
15
16 · When decoding, the input is read one line at a time. The input
17 accumulates in an internal buffer, which is decoded in
18 multiple-of-4-sized chunks (plus a possible "leftover" input chunk,
19 of course).
20
21 · When encoding, the input is read 45 bytes at a time: this ensures
22 that the output lines are not too long. We chose 45 since it is a
23 multiple of 3 and produces lines under 76 characters, as RFC 2045
24 specifies:
25 The encoded output stream must be represented in lines of no
26 more
27 than 76 characters each.
28
30 MIME::Decoder
31
33 Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com).
34
35 All rights reserved. This program is free software; you can
36 redistribute it and/or modify it under the same terms as Perl itself.
37
38
39
40perl v5.28.0 2017-04-05 MIME::Decoder::Base64(3)