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
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);