containsExclusive method

bool containsExclusive(
  1. int x
)

Return true if x is in the interval (offset, offset + length).

Implementation

bool containsExclusive(int x) => offset < x && x < offset + length;