string encodeString(
string
$string, [int
$firstLineOffset = 0], [
$maxLineLength = 0], int
$maxLineLength,)
|
|
Takes an unencoded string and produces a Base64 encoded string from it.
Base64 encoded strings have a maximum line length of 76 characters. If the first line needs to be shorter, indicate the difference with $firstLineOffset.
Tags:
Implementation of:
- Swift_Encoder::encodeString()
- Encode a given string to produce an encoded string.
Parameters: