MIME::Decoder::Base64(User Contributed Perl DocumentatMIME::Decoder::Base64(3)NAMEMIME::Decoder::Base64 - encode/decode a "base64" stream
SYNOPSIS
A generic decoder object; see MIME::Decoder for usage.
DESCRIPTION
A MIME::Decoder subclass for the "base64" encoding. The name was cho-
sen to jibe with the pre-existing MIME::Base64 utility package, which
this class actually uses to translate each chunk.
o When decoding, the input is read one line at a time. The input
accumulates in an internal buffer, which is decoded in multi-
ple-of-4-sized chunks (plus a possible "leftover" input chunk, of
course).
o When encoding, the input is read 45 bytes at a time: this ensures
that the output lines are not too long. We chose 45 since it is a
multiple of 3 and produces lines under 76 characters, as RFC-1521
specifies.
AUTHOR
Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com).
All rights reserved. This program is free software; you can redis-
tribute it and/or modify it under the same terms as Perl itself.
VERSION
$Revision: 1.10 $ $Date: 2006/03/17 21:03:23 $
perl v5.8.8 2006-03-17 MIME::Decoder::Base64(3)