getULongsWithListAndAmount method

void getULongsWithListAndAmount(
  1. int amount,
  2. Uint64List intoArray, [
  3. int startIndex = 0
])

Populates a Uint64List with ulongs retrieved from the message.

amount : The amount of ulongs to retrieve. intoArray : The array to populate. startIndex : The position at which to start populating the array.

Implementation

void getULongsWithListAndAmount(int amount, Uint64List intoArray,
    [int startIndex = 0]) {
  if (startIndex + amount > intoArray.length) {
    throw ArgumentError(_arrayNotLongEnoughError(
        amount, intoArray.length, startIndex, uLongName));
  }

  _readULongs(amount, intoArray, startIndex);
}