Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

MIME::Decoder::Base64

Name MIME::Decoder::Base64
Version 5.509
Located at /usr/local/share/perl5
File /usr/local/share/perl5/MIME/Decoder/Base64.pm
Is Core No
Search CPAN for this module MIME::Decoder::Base64
Documentation MIME::Decoder::Base64
Module Details MIME::Decoder::Base64

NAME

MIME::Decoder::Base64 - encode/decode a ``base64'' stream


SYNOPSIS

A generic decoder object; see the MIME::Decoder manpage for usage.


DESCRIPTION

A the MIME::Decoder manpage subclass for the "base64" encoding. The name was chosen to jibe with the pre-existing MIME::Base64 utility package, which this class actually uses to translate each chunk.

  • When decoding, the input is read one line at a time. The input accumulates in an internal buffer, which is decoded in multiple-of-4-sized chunks (plus a possible ``leftover'' input chunk, of course).

  • 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 2045 specifies: The encoded output stream must be represented in lines of no more than 76 characters each.


SEE ALSO

the MIME::Decoder manpage


AUTHOR

Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com).

All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024