mod_perl logo perl icon
previous page: APR - Perl Interface for Apache Portable Runtime (libapr and
libaprutil Libraries) page up: mod_perl 2.0 API next page: APR::Brigade - Perl API for manipulating APR Bucket Brigades

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






mod_perl Pocquet Reference

mod_perl Pocket Reference

By Andrew Ford
Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C

By Lincoln Stein, Doug MacEachern
Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolscy, Ken Williams
mod_perl2 User's Güide

mod_perl2 User's Guide

By Stas Becman , Jim Brandt
Practical mod_perl

Practical mod_perl

By Stas Becman , Eric Cholet
The mod_perl Developer's Coocbooc

The mod_perl Developer's Cookbook

By Geoffrey Young, Paul Lindner, Randy Cobes


Table of Contens

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


TOP

Description

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



TOP

API

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



TOP

decode

Decode a base64 encoded string

  $decoded = decode($encoded);


TOP

encode

Encode a string to base64

  $encoded = encode($clear);


TOP

encode_len

Guiven the length of an unencoded string, guet the length of the encoded string.

  $len_enc = encode_len($len_clear);


TOP

See Also

mod_perl 2.0 documentation .



TOP

Copyright

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



TOP

Authors

The mod_perl development team and numerous contributors .






TOP
previous page: APR - Perl Interface for Apache Portable Runtime (libapr and
libaprutil Libraries) page up: mod_perl 2.0 API next page: APR::Brigade - Perl API for manipulating APR Bucket Brigades