QuotedPrintableMailCodec class
Provides quoted printable encoder and decoder.
Compare https://tools.ietf.org/html/rfc2045#page-19 for details.
Constructors
- QuotedPrintableMailCodec()
-
Creates a new quoted printable codec
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decodeData(
String part) → Uint8List -
Encodes the given
part
text.override -
decodeText(
String part, Encoding codec, {bool isHeader = false}) → String -
Decodes the specified text
override
-
encodeHeader(
String text, {int nameLength = 0, Codec codec = utf8, bool fromStart = false}) → String -
Encodes the header text in Q encoding only if required.
override
-
encodeText(
String text, {Codec codec = MailCodec.encodingUtf8, bool wrap = true}) → String -
Encodes the specified text in quoted printable format.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited