# File lib/mail/encodings/base64.rb, line 11 11: def self.can_encode?(enc) 12: true 13: end
Base64 has a fixed cost, 4 bytes out per 3 bytes in
# File lib/mail/encodings/base64.rb, line 26 26: def self.cost(str) 27: 4.0/3 28: end
Decode the string from Base64
# File lib/mail/encodings/base64.rb, line 16 16: def self.decode(str) 17: RubyVer.decode_base64( str ) 18: end
Encode the string to Base64
# File lib/mail/encodings/base64.rb, line 21 21: def self.encode(str) 22: RubyVer.encode_base64( str ).to_crlf 23: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.