Utf16Decoder class
Utf16Decoder
Constructors
- Utf16Decoder()
-
Utf16Decoder
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> input, [int start = 0, int? end, int replacementCodepoint = unicodeReplacementCharacterCodepoint]) → String -
Produce a String from a sequence of UTF-16 encoded bytes. This method always
strips a leading BOM. Set the
replacementCodepoint
to null to throw an ArgumentError rather than replace the bad value. The default value for thereplacementCodepoint
is U+FFFD.override -
decodeUtf16Be(
List< int> input, [int start = 0, int? end, bool stripBom = true, int replacementCodepoint = unicodeReplacementCharacterCodepoint]) → String -
Produce a String from a sequence of UTF-16BE encoded bytes. This method
strips a leading BOM by default, but can be overridden by setting the
optional parameter
stripBom
to false. Set thereplacementCodepoint
to null to throw an ArgumentError rather than replace the bad value. The default value for thereplacementCodepoint
is U+FFFD. -
decodeUtf16Le(
List< int> bytes, [int offset = 0, int? length, bool stripBom = true, int replacementCodepoint = unicodeReplacementCharacterCodepoint]) → String -
Produce a String from a sequence of UTF-16LE encoded bytes. This method
strips a leading BOM by default, but can be overridden by setting the
optional parameter
stripBom
to false. Set thereplacementCodepoint
to null to throw an ArgumentError rather than replace the bad value. The default value for thereplacementCodepoint
is U+FFFD. -
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) → Sink<List< int> > -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited