GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MIME::DECODER::BASE64 (3)

.ds Aq ’

NAME

MIME::Decoder::Base64 - encode/decode a "base64" stream

CONTENTS

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.
o When <B>decodingB>, 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).
o When <B>encodingB>, 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MIME::DECODER::BASE64 (3) 2015-09-30

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.