startVector method

void startVector()

This method starts a vector definition and needs to be followed by 0 to n add... value calls.

The vector definition needs to be finished with an end call. It is also possible to add nested vector or map by calling startVector / startMap.

Implementation

void startVector() {
  _integrityCheckOnValueAddition();
  _stackPointers.add(_StackPointer(_stack.length, true));
}