cdrBufInput profile = c.read_encapsulation();
BufferredCdrInput profile = c.read_encapsulation();
  public void _read_no_endian(cdrInput c)                       throws IOException, BAD_PARAM  {    Id = c.read_string();    int n_profiles = c.read_long();    if (n_profiles == 0)      {        Id = null;        Internet = null;        return;      }    for (int i = 0; i < n_profiles; i++)      {        int tag = c.read_long();        cdrBufInput profile = c.read_encapsulation();        if (tag == Internet_profile.TAG_INTERNET_IOP)          {            Internet = new Internet_profile();            Internet.version = Version.read_version(profile);            Internet.host = profile.read_string();            Internet.port = profile.gnu_read_ushort();            key = profile.read_sequence();            // Read tagged components.            int n_components = 0;            try              {                if (Internet.version.since_inclusive(1, 1))                n_components = profile.read_long();                for (int t = 0; t < n_components; t++)                  {                    int ctag = profile.read_long();                    if (ctag == CodeSets_profile.TAG_CODE_SETS)                      {                        Internet.CodeSets.read(profile);                      }                    else                      {                        // Construct a generic component for codesets                        // profile.                        TaggedComponent pc = new TaggedComponent();                        pc.tag = ctag;                        pc.component_data = profile.read_sequence();                        Internet.components.add(pc);                      }                  }              }            catch (Unexpected ex)              {                ex.printStackTrace();              }          }        else          {            // Construct a generic profile.            TaggedProfile p = new TaggedProfile();            p.tag = tag;            p.profile_data = profile.buffer.getBuffer();            profiles.add(p);          }      }  }