=head1 NAME APR::Base64 - Perl API for APR base64 encoding/decoding functionality =head1 Synopsis use APR::Base64 (); my $clear = "foo" my $encoded = APR::Base64::encode($clear); my $decoded = APR::Base64::decode($encoded); my $len_enc = APR::Base64::encode_len(length $clear); =head1 Description C provides the access to APR's base64 encoding and decoding API. =head1 API C provides the following functions and/or methods: =head2 C Decode a base64 encoded string $decoded = decode($encoded); =over 4 =item arg1: C<$encoded> ( string ) The encoded string. =item ret: C<$decoded> ( string ) The decoded string. =item since: 2.0.00 =back =head2 C Encode a string to base64 $encoded = encode($clear); =over 4 =item arg1: C<$clear> ( string ) The unencoded string. =item ret: C<$encoded> ( string ) The encoded string. =item since: 2.0.00 =back =head2 C Given the length of an unencoded string, get the length of the encoded string. $len_enc = encode_len($len_clear); =over 4 =item arg1: C<$len_clear> ( integer ) the length of an unencoded string. =item ret: C<$len_enc> ( integer ) the length of the string after it is encoded =item since: 2.0.00 =back =head1 See Also L. =head1 Copyright mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. =head1 Authors L. =cut