docs: public static boolean startsWithPattern(
        final byte[] byteArray,
        final byte[] pattern) {
      Preconditions.checkNotNull(byteArray);
      Preconditions.checkNotNull(pattern);
      if (pattern.length > byteArray.length) {
        return false;
      }
  
      for (int i = 0; i < pattern.length; ++i) {
        if (byteArray[i] != pattern[i]) {
          return false;
        }
      }
  
      return true;
    }