UtfDecoder class

Class to perform the actual decoding from UTF file/stream

Inheritance

Constructors

UtfDecoder(String? id, {bool hasSink = true, UtfBomHandler? onBom, Sink<String>? sink, UtfType type = UtfType.none})
Default constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
Stream name, can be file path
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type UtfType
UTF type
no setter

Methods

bind(Stream<List<int>> stream) Stream<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]) String
Implementation of convert
override
fuse<TT>(Converter<String, TT> other) Converter<List<int>, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<String>? sink) ByteConversionSink
Implementation of startChunkedConversion
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited