Swift_Encoder_QpEncoder::encodeString
Takes an unencoded string and produces a QP encoded string from it.
QP encoded strings have a maximum line length of 76 characters. If the first line needs to be shorter, indicate the difference with $firstLineOffset.
Signature
public function encodeString(string
$string,
[integer
$firstLineOffset = 0,
[integer
$maxLineLength = 0]] )
Parameters
$string
— string- to encode
$firstLineOffset
— integer- optional
$maxLineLength
— integer- optional 0 indicates the default of 76 chars
Returns
- string