GbkDecoder class
This class converts GBK code units (lists of unsigned 8-bit integers) to a string.
Constructors
- GbkDecoder({bool allowMalformed = false})
-
Instantiates a new GbkDecoder.
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
-
bind(
Stream< List< stream) → Stream<int> >String> -
Transforms the provided
stream
.inherited -
cast<
RS, RT> () → Converter< RS, RT> -
Provides a
Converter<RS, RT>
view of this stream transformer.inherited -
convert(
List< int> codeUnits, [int start = 0, int? end]) → String -
Converts the GBK
codeUnits
(a list of unsigned 8-bit integers) to the corresponding string.override -
fuse<
TT> (Converter< String, TT> other) → Converter<List< int> , TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< String> sink) → ByteConversionSink -
Starts a chunked conversion.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited