ASCIIEncoder class

Encodes a Dart String to ASCII bytes - one byte per character, since every valid ASCII character is already a single UTF-16 code unit <= 0x7F.

Constructors

ASCIIEncoder()

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

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

Static Methods

encode(String str) → BuBytes
Encodes str to ASCII bytes.