code: private boolean oneMatchletMagicEquals(int offset, byte[] data) {
          int rangeStart = content.getInt(offset);      // first byte of data for check to start at
          int rangeLength = content.getInt(offset + 4); // last byte of data for check to start at
          int dataLength = content.getInt(offset + 12); // number of bytes in match data/mask
          int dataOffset = content.getInt(offset + 16); // contentBytes offset to the match data
          int maskOffset = content.getInt(offset + 20); // contentBytes offset to the mask
  
          boolean found = false;
  
          for (int i = 0; !found && (i <= rangeLength) && (i + rangeStart + dataLength <= data.length); i++) {
              if (maskOffset != 0) {
                  found = subArraysEqualWithMask(
                          contentBytes, dataOffset,
                          data, rangeStart + i,
                          contentBytes, maskOffset,
                          dataLength
                  );
              } else {
                  found = subArraysEqual(
                          contentBytes, dataOffset,
                          data, rangeStart + i,
                          dataLength
                  );
              }
          }
  
          return found;
      }
docs: Tests whether one matchlet (but not its children) matches data.