This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



apache_mod_perl-103~96::mod_perl-2.0.oRoerl-2.0.4::docs::api::APR::Base64(3)



NAME
       APR::Base64 - Perl API for APR base64 encoding/decoding functionality

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);

Description
       "APR::Base64" provides the access to APR's base64 encoding and decoding API.

API
       "APR::Base64" provides the following functions and/or methods:

       "decode"

       Decode a base64 encoded string

         $decoded = decode($encoded);

       arg1: $encoded ( string )
           The encoded string.

       ret: $decoded ( string )
           The decoded string.

       since: 2.0.00

       "encode"

       Encode a string to base64

         $encoded = encode($clear);

       arg1: $clear ( string )
           The unencoded string.

       ret: $encoded ( string )
           The encoded string.

       since: 2.0.00

       "encode_len"

       Given the length of an unencoded string, get the length of the encoded string.

         $len_enc = encode_len($len_clear);

       arg1: $len_clear ( integer )
           the length of an unencoded string.

       ret: $len_enc ( integer )
           the length of the string after it is encoded

       since: 2.0.00

See Also
       mod_perl 2.0 documentation.

Copyright
       mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.

Authors
       The mod_perl development team and numerous contributors.



perl v5.10.0                               apache2-103~96::mod_perl-2.0.4::docs::api::APR::Base64(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.