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


Manual Reference Pages  -  APR::BASE64 (3)

.ds Aq ’

NAME

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

CONTENTS

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:

CWdecode

Decode a base64 encoded string



  $decoded = decode($encoded);



arg1: $encoded ( string ) The encoded string.
ret: $decoded ( string ) The decoded string.
since: 2.0.00

CWencode

Encode a string to base64



  $encoded = encode($clear);



arg1: $clear ( string ) The unencoded string.
ret: $encoded ( string ) The encoded string.
since: 2.0.00

CWencode_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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WORK::MOD_PERL-2.0.9::DOCS::API::APR::BASE64 (3) 2015-06-18

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