getB256Size method

int getB256Size()

does not count beyond 250

Implementation

int getB256Size() {
  int cnt = 0;
  Edge? current = this;
  while (current != null && current.mode == Mode.b256 && cnt <= 250) {
    cnt++;
    current = current.previous;
  }
  return cnt;
}