MIME::D...::Base64(3)

πŸ’– MIME::Decoder::Base64 β€” the manual, but make it make sense πŸ’–

okay bestie, so this is the User Contributed Perl Documentation page for MIME::D...::Base64(3), and honestly? she's short, she's sweet, she's a whole vibe. let's get into it ✨


🌸 NAME 🌸

MIME::Decoder::Base64 β€” the girl who encodes/decodes a "base64" stream. that's it, that's the job, and she does it flawlessly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

a generic decoder object, no cap. for the actual usage deets you gotta go see MIME::Decoder β€” she's the one holding the aux cord here 🫢

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

πŸ¦‹ DESCRIPTION πŸ¦‹

so MIME::Decoder::Base64 is a subclass of MIME::Decoder, specifically for the "base64" encoding. and the name? iconic choice actually β€” it was picked to jibe with the pre-existing MIME::Base64 utility package, which this class literally uses to translate each chunk. it's giving "named after her bestie" energy fr fr πŸ’œ

  • πŸ“ when decoding, the input gets read one line at a time. it all piles up in an internal buffer, and that buffer gets decoded in multiple-of-4-sized chunks β€” plus a possible "leftover" input chunk, of course. because leftovers are always invited to the function 😌
  • 🌈 when encoding, the input gets read 6840 (120 * 57) bytes at a time. and every single section of 57 bytes becomes a line holding 76 Base64 characters. math girlies stay winning πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

MIME::Decoder β€” go read her, she's the main character of this whole family 🫢


πŸ’– 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. πŸ“œβœ¨


ngl that license paragraph is the realest part of any manpage and we respect her for it πŸ’€

and that's the whole page, bestie!! written up as perl v5.42.0, dated 2026-02-11, for MIME::D...::Base64(3) β€” mwah, go decode something gorgeous πŸŒΈπŸ’…πŸ¦‹

πŸ“¦ where this page comes from