struct Athena::MIME::Encoder::QuotedPrintableMIMEHeader
- Athena::MIME::Encoder::QuotedPrintableMIMEHeader
- Struct
- Value
- Object
Overview
A MIME header encoder based on the Q spec.
Included Modules
Defined in:
encoder/quoted_printable_mime_header.crConstructors
Instance Method Summary
-
#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.
- #initialize
-
#name : String
Returns the name of this content encoding scheme.
Instance methods inherited from module Athena::MIME::Encoder::EncoderInterface
encode(input : String, charset : String | Nil = "UTF-8", first_line_offset : Int32 = 0, max_line_length : Int32 | Nil = nil) : String
encode
Instance methods inherited from module Athena::MIME::Encoder::MIMEHeaderEncoderInterface
name : String
name
Constructor Detail
Instance Method Detail
def 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.