nextItem method

  1. @override
bool nextItem()
override

Moves to the next item in the collection.

Returns true if there is another item to decode, otherwise false.

Implementation

@override
bool nextItem() {
  index++;
  return index < length;
}