suffixLengthToRange method

void suffixLengthToRange(
  1. int total
)

Implementation

void suffixLengthToRange(int total) {
  if (!specified) {
    throw StateError('This RequestRange instance is not a specified one, it cannot be converted to range one.');
  }
  end = total - 1;
  begin = total - suffixLength!;
  suffixLength = null;
}