findGuardPattern static method

List<int> findGuardPattern(
  1. BitArray row,
  2. int rowOffset,
  3. bool whiteFirst,
  4. List<int> pattern,
)

Implementation

static List<int> findGuardPattern(
  BitArray row,
  int rowOffset,
  bool whiteFirst,
  List<int> pattern,
) {
  return _findGuardPattern(
    row,
    rowOffset,
    whiteFirst,
    pattern,
    List.filled(pattern.length, 0),
  );
}