Utf16leBytesToCodeUnitsDecoder Class
Convert UTF-16LE encoded bytes to utf16 code units by grouping 1-2 bytes to produce the code unit (0-(2^16)-1).
Extends
Utf16BytesToCodeUnitsDecoder > Utf16leBytesToCodeUnitsDecoder
Constructors
Code new Utf16leBytesToCodeUnitsDecoder(List<int> utf16EncodedBytes, [int offset = 0, int length, bool stripBom = true, int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) #
Utf16leBytesToCodeUnitsDecoder(List<int> utf16EncodedBytes, [ int offset = 0, int length, bool stripBom = true, int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) : super._fromListRangeIterator((new _ListRange(utf16EncodedBytes, offset, length)).iterator(), replacementCodepoint) { if (stripBom && hasUtf16leBom(utf16EncodedBytes, offset, length)) { skip(); } }