docs: protected static boolean __has_identifier(ByteBuffer bb, String ident) {
      if (ident.length() != FILE_IDENTIFIER_LENGTH)
          throw new AssertionError("FlatBuffers: file identifier must be length " +
                                   FILE_IDENTIFIER_LENGTH);
      for (int i = 0; i < FILE_IDENTIFIER_LENGTH; i++) {
        if (ident.charAt(i) != (char)bb.get(bb.position() + SIZEOF_INT + i)) return false;
      }
      return true;
    }