class Mail::Encodings::Base64

Base64 encoding handles binary content at the cost of 4 output bytes per input byte.