NAME

SPVM::MIME::Base64 - Base64 encode/decode

SYNOPSYS

use SPVM::MIME::Base64;

my $b64 = SPVM::MIME::Base64->new;
my $text = $b64->encode($binary);
my $binary = $b64->decode($text);

DESCRIPTION

Base64 encode/decode

METHODS

new

sub new : SPVM::MIME::Base64 ()

Create new SPVM::MIME::Base64 object.

encode

sub encode : string ($self : self, $binary : string)

Encode binary data to base64 text.

decode

sub decode : string ($self : self, $base64_text : string)

Decode encoded Base64 text to binary data.