module Athena::MIME::Encoder::ContentEncoderInterface
Overview
A more specialized version of AMIME::Encoder::EncoderInterface
used to encode MIME message contents.
Included Modules
Direct including types
- Athena::MIME::Encoder::Base64Content
- Athena::MIME::Encoder::EightBitContent
- Athena::MIME::Encoder::QuotedPrintableContent
Defined in:
encoder/content_encoder_interface.crInstance Method Summary
-
#encode(input : IO, max_line_length : Int32 | Nil = nil) : String
Returns an string representing the encoded contents of the provided input IO.
-
#name : String
Returns the name of this encoder for use within the
content-transfer-encoding
header.
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 Method Detail
abstract
def encode(input : IO, max_line_length : Int32 | Nil = nil) : String
#
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.
abstract
def name : String
#
Returns the name of this encoder for use within the content-transfer-encoding
header.