ModifiedUtf7Codec class
Provides Modified UTF7 encoder and decoder. Compare https://tools.ietf.org/html/rfc3501#section-5.1.3 and https://tools.ietf.org/html/rfc2152 for details. Inspired by https://github.com/jstedfast/MailKit/blob/master/MailKit/Net/Imap/ImapEncoding.cs
Constructors
- ModifiedUtf7Codec.new()
-
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
-
decodeText(
String text, [Encoding codec = utf8]) → String -
Decodes the specified
text
-
encodeText(
String text) → String -
Encodes the specified text in Modified UTF7 format.
text
specifies the text to be encoded. -
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