NAME
APR::Base64 - Perl API for APR base64 encoding/decoding functionality
SSyynnooppssiissuse APR::Base64 ();
my $clear = "foo"
my $encoded = APR::Base64::encode($clear);
my $decoded = APR::Base64::decode($encoded);
my $lenenc = APR::Base64::encodelen(length $clear);
DDeessccrriippttiioonn"APR::Base64" provides the access to APR's base64 encoding and decoding
API. AAPPII"APR::Base64" provides the following functions and/or methods:
""ddeeccooddee"" Decode a base64 encoded string$decoded = decode($encoded);
arg1: $encoded ( string )
The encoded string.ret: $decoded ( string )
The decoded string. since: 2.0.00 ""eennccooddee"" Encode a string to base64$encoded = encode($clear);
arg1: $clear ( string )
The unencoded string.ret: $encoded ( string )
The encoded string. since: 2.0.00 ""eennccooddeelleenn"" Given the length of an unencoded string, get the length of the encoded string.$lenenc = encodelen($lenclear);
arg1: $lenclear ( integer )
the length of an unencoded string.ret: $lenenc ( integer )
the length of the string after it is encoded since: 2.0.00 SSeeee AAllssoo modperl 2.0 documentation. CCooppyyrriigghhtt modperl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. AAuutthhoorrss The modperl development team and numerous contributors.perl v5.8.8 apachemodperl-101.1~220:0:5m-o1d0-p2e0rl-2.0.2::docs::api::APR::Base64(3)