GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       MIME::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
       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

       MIME::Decoder

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.



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.113 seconds. Last modified: November 04 2018 12:49:43.