UCharsetDecoder class abstract
Decodes byte segments using the declared ECI charset, with a UTF-8 then Latin-1 fallback when no ECI is present.
Constructors
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
-
decode(
Uint8List bytes, {int? eci, bool preferUtf8 = false}) → String -
shiftJis(
Uint8List bytes) → String - Minimal Shift-JIS handling: ASCII and half-width katakana map directly and double-byte sequences become the replacement character, so the rest of the payload still decodes instead of failing outright.