Пример #1
0
  /**
   * Write this IOR record to the provided CDR stream. The procedure writed data in Big Endian, but
   * does NOT add any endian marker to the beginning.
   */
  public void _write_no_endian(AbstractCdrOutput out) {
    // Write repository id.
    out.write_string(Id);

    out.write_long(1 + profiles.size());

    // Write the Internet profile.
    out.write_long(Internet_profile.TAG_INTERNET_IOP);
    Internet.write(out);

    // Write other profiles.
    TaggedProfile tp;

    for (int i = 0; i < profiles.size(); i++) {
      tp = (TaggedProfile) profiles.get(i);
      TaggedProfileHelper.write(out, tp);
    }
  }