Athena::MIME::Encoder::QuotedPrintableContent
Inherits Athena::MIME::Encoder::ContentEncoderInterface < Athena::MIME::Encoder::EncoderInterface < Struct < Value < Object
A content encoder based on the quoted-printable spec.
Constructors
new
SourceClass methods
Instance methods
encode(input : String, charset : String | Nil = "UTF-8", first_line_offset : Int32 = 0, max_line_length : Int32 | Nil = nil) : String
Returns an encoded version of the provided input.
first_line_offset may optionally be used depending on the exact implementation if the first line needs to be shorter. max_line_length may optionally be used depending on the exact implementation to customize the max length of each line.
Returns an string representing the encoded contents of the provided input IO. With lines optionally limited to max_line_length, depending on the underlying implementation.
initialize
Source