Convert::Base64(3)

πŸ“¦
version 0.001 Β· 2 versions
, in fedora 43

πŸ’– Convert::Base64 β€” the manual page, but make it cute πŸ’–

okay so bestie, you found it β€” this is the Convert::Base64(3) page, from the User Contributed Perl Documentation collection. It's giving tiny module, big vibes. Let's get into it. πŸŽ€


✨ NAME ✨

Convert::Base64 β€” encoding and decoding of Base64 strings πŸ¦‹


🌸 VERSION 🌸

version 0.001 β€” baby's first version number, we love a humble queen πŸ‘‘


⭐ SYNOPSIS ⭐

use Convert::Base64;

$encoded = encode_base64("\x3a\x27\x0f\x93");
$decoded = decode_base64($encoded);

literally that's it. two functions. in, out. the whole main character arc. πŸ’…


🧚 DESCRIPTION 🧚

This module hands you functions that convert strings to and from the Base64 encoding, exactly as described in RFC 4648. no cap.

Under the hood it's implemented as a light wrapper over MIME::Base64 β€” so it's not doing anything wild, it's just standing on the shoulders of a legend. 🫢


πŸ’œ FUNCTIONS πŸ’œ

  • encode_base64
my $encoded = encode_base64("foo");

Encode a string of bytes into its Base64 representation. bytes go in, alphabet soup comes out. ✨

  • decode_base64
my $decoded = encode_base64("Zm9v");

Decode a Base64 string into a string of bytes. (yes the example says encode_base64, that's just how the page is written, we don't edit the ancestors πŸ™ˆ)


πŸ”₯ SEE ALSO πŸ”₯

  • MIME::Base64 β€” the classic Base64 implementation for Perl, used internally by this module (the real one behind the curtain 🎭)
  • Convert::Base32 β€” the original inspiration for this module 🌈
  • <http://tools.ietf.org/html/rfc4648> β€” the Base64 specification, i.e. the sacred text πŸ“œ

🫢 SUPPORT 🫢

πŸ› Bugs / Feature Requests πŸ›

Please report bugs or feature requests through the issue tracker at <https://github.com/robn/Convert-Base64/issues>. You will be notified automatically of any progress on your issue β€” so you're not just screaming into the void, bestie, they'll ping you. πŸ’Œ

πŸ“¦ Source Code πŸ“¦

This is open source software. The code repository is available for public review and contribution under the terms of the license.

<https://github.com/robn/Convert-Base64>

git clone https://github.com/robn/Convert-Base64.git

go forth and clone, you icon. πŸ‘‘


πŸ‘‘ AUTHORS πŸ‘‘

  • Robert Norris <rob@eatenbyagrue.org>

This software is copyright (c) 2014 by Robert Norris.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


and that's the whole page, bestie!! this one shipped as perl v5.42.0, dated 2025-07-25 β€” so go forth, encode some bytes, and remember: every Base64 string is just a girl trying her best. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from