method

new

v2_1_10 - Show latest stable - Class: XMLRPC::Base64
new(str, state = :dec)
public

Creates a new XMLRPC::Base64 instance with string str as the internal string. When state is :dec it assumes that the string str is not in base64 format (perhaps already decoded), otherwise if state is :enc it decodes str and stores it as the internal string.