UtfEncoder class

Class to perform the actual encoding to UTF file/stream

Inheritance

Constructors

UtfEncoder(String? id, {bool hasSink = true, Sink<List<int>>? sink, UtfType type = UtfType.none, bool? withBom})
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<String> stream) Stream<List<int>>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(String input, [int start = 0, int? end]) Uint8List
Implementation of convert
override
fuse<TT>(Converter<List<int>, TT> other) Converter<String, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<List<int>>? sink) StringConversionSink
Implementation of startChunkedConversion
override
toString() String
A string representation of this object.
inherited

Operators

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