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

Defined in:

encoder/content_encoder_interface.cr

Instance Method Summary

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.


[View source]
abstract def name : String #

Returns the name of this encoder for use within the content-transfer-encoding header.


[View source]