Convert::Base64(3)
π 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>
π COPYRIGHT AND LICENSE π
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
- fedora 43: perl-Convert-Base64 0.001-27.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms