Utf16beBytesToCodeUnitsDecoder class

Convert UTF-16BE encoded bytes to utf16 code units by grouping 1-2 bytes to produce the code unit (0-(2^16)-1).

Inheritance

Constructors

Utf16beBytesToCodeUnitsDecoder(List<int> utf16EncodedBytes, [int offset = 0, int? length, bool stripBom = true, int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT])

Properties

current int?
The current element.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
position int
no setterinherited
remaining int
no setterinherited
replacementCodepoint int?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
utf16EncodedBytesIterator → ListRangeIterator
finalinherited

Methods

backup([int? by = 1]) → void
inherited
decode() int
override
decodeRest() List<int?>
Provides a fast way to decode the rest of the source bytes in a single call. This method trades memory for improved speed in that it potentially over-allocates the List containing results.
inherited
moveNext() bool
Advances the iterator to the next element of the iteration.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
skip([int? count = 1]) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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