{
    "mode": "perldoc",
    "parameter": "MIME::Decoder::Base64",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ADecoder%3A%3ABase64/json",
    "generated": "2026-05-30T19:05:59Z",
    "synopsis": "A generic decoder object; see MIME::Decoder for usage.",
    "sections": {
        "NAME": {
            "content": "MIME::Decoder::Base64 - encode/decode a \"base64\" stream\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "A generic decoder object; see MIME::Decoder for usage.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A MIME::Decoder subclass for the \"base64\" encoding. The name was chosen\nto jibe with the pre-existing MIME::Base64 utility package, which this\nclass actually uses to translate each chunk.\n\n*   When decoding, the input is read one line at a time. The input\naccumulates in an internal buffer, which is decoded in\nmultiple-of-4-sized chunks (plus a possible \"leftover\" input chunk,\nof course).\n\n*   When encoding, the input is read 45 bytes at a time: this ensures\nthat the output lines are not too long. We chose 45 since it is a\nmultiple of 3 and produces lines under 76 characters, as RFC 2045\nspecifies: The encoded output stream must be represented in lines of\nno more than 76 characters each.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "MIME::Decoder\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com).\n\nAll rights reserved. This program is free software; you can redistribute\nit and/or modify it under the same terms as Perl itself.\n",
            "subsections": []
        }
    },
    "summary": "MIME::Decoder::Base64 - encode/decode a \"base64\" stream",
    "flags": [],
    "examples": [],
    "see_also": []
}