NAME

Protocol::XMLRPC::Value::Base64 - XML-RPC array

SYNOPSIS

my $base64 = Protocol::XMLRPC::Value::Base64->new('foo');
my $base64 = Protocol::XMLRPC::Value::Base64->parse("Zm9v\n");

DESCRIPTION

XML-RPC base64

METHODS

new

Creates new Protocol::XMLRPC::Value::Base64 instance.

parse

Parses base64 string and creates a new Protocol::XMLRPC:::Value::Base64 instance.

type

Returns 'base64'.

value

my $base64 = Protocol::XMLRPC::Value::Base64->new('foo');
# $base64->value returns 'Zm9v\n'

Returns serialized Perl5 scalar.

to_string

my $base64 = Protocol::XMLRPC::Value::Base64->new('foo');
# $base64->to_string is now
# '<base64>Zm9v
# </base64>'

XML-RPC base64 string representation.