Dart API Referencedart:utfIterableUtf16Decoder

IterableUtf16Decoder Class

Return type of decodeUtf16AsIterable and variants. The Iterable type provides an iterator on demand and the iterator will only translate bytes as requested by the user of the iterator. (Note: results are not cached.)

Implements

Iterable<E>

Constructors

Code new IterableUtf16Decoder._(Function codeunitsProvider, int replacementCodepoint) #

IterableUtf16Decoder._(_ListRangeIterator this.codeunitsProvider(),
    int this.replacementCodepoint);

Methods

Code Utf16CodeUnitDecoder iterator() #

Utf16CodeUnitDecoder iterator() =>
    new Utf16CodeUnitDecoder.fromListRangeIterator(codeunitsProvider(),
        replacementCodepoint);

Fields

Code final Function codeunitsProvider #

final Function codeunitsProvider;

Code final int replacementCodepoint #

final int replacementCodepoint;