Class Mail::Encodings::Base64
In: lib/mail/encodings/base64.rb
Parent: SevenBit

Methods

can_encode?   cost   decode   encode  

Constants

NAME = 'base64'
PRIORITY = 3

Public Class methods

Base64 has a fixed cost, 4 bytes out per 3 bytes in

Decode the string from Base64

Encode the string to Base64

[Validate]