GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
work::mod_perl-2.0.13::docs::api::APR::Base64(3) User Contributed Perl Documentation work::mod_perl-2.0.13::docs::api::APR::Base64(3)

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

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

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

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

Decode a base64 encoded string

  $decoded = decode($encoded);
The encoded string.
The decoded string.

Encode a string to base64

  $encoded = encode($clear);
The unencoded string.
The encoded string.

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

  $len_enc = encode_len($len_clear);
the length of an unencoded string.
the length of the string after it is encoded

mod_perl 2.0 documentation.

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

The mod_perl development team and numerous contributors.

2023-10-21 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.