SPVM::MIME::Base64 - Base64 encode/decode
use SPVM::MIME::Base64; my $b64 = SPVM::MIME::Base64->new; my $text = $b64->encode($binary); my $binary = $b64->decode($text);
Base64 encode/decode
sub new : SPVM::MIME::Base64 ()
Create new SPVM::MIME::Base64 object.
sub encode : string ($self : self, $binary : string)
Encode binary data to base64 text.
sub decode : string ($self : self, $base64_text : string)
Decode encoded Base64 text to binary data.
To install SPVM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM
CPAN shell
perl -MCPAN -e shell install SPVM
For more information on module installation, please visit the detailed CPAN module installation guide.