encodeText abstract method
Encodes the specified text in the chosen codec's format.
text
specifies the text to be encoded.
codec
the optional codec, which defaults to utf8.
Set wrap
to false in case you do not want to wrap lines.
Implementation
String encodeText(String text,
{convert.Codec codec = encodingUtf8, bool wrap = true});