Swift_Mime_ContentEncoder
extends
Swift_Encoder
in
Interface for all Transfer Encoding schemes.
Tags
Table of Contents
- charsetChanged() : mixed
- Notify this observer that the entity's charset has changed.
- encodeByteStream() : mixed
- Encode $in to $out.
- encodeString() : string
- Encode a given string to produce an encoded string.
- getName() : string
- Get the MIME name of this content encoding scheme.
Methods
charsetChanged()
Notify this observer that the entity's charset has changed.
public
charsetChanged(string $charset) : mixed
Parameters
- $charset : string
Return values
mixed —encodeByteStream()
Encode $in to $out.
public
encodeByteStream(Swift_OutputByteStream $os, Swift_InputByteStream $is, int $firstLineOffset, int $maxLineLength) : mixed
Parameters
- $os : Swift_OutputByteStream
-
to read from
- $is : Swift_InputByteStream
-
to write to
- $firstLineOffset : int
- $maxLineLength : int
-
- 0 indicates the default length for this encoding
Return values
mixed —encodeString()
Encode a given string to produce an encoded string.
public
encodeString(string $string, int $firstLineOffset, int $maxLineLength) : string
Parameters
- $string : string
- $firstLineOffset : int
-
if first line needs to be shorter
- $maxLineLength : int
-
- 0 indicates the default length for this encoding
Return values
string —getName()
Get the MIME name of this content encoding scheme.
public
getName() : string