tc = new TypeCodeImpl();
map.put(new Integer(pos), tc);
tc.kind = TCKind.tk_union;
tc.id = encap_in.read_string();
tc.name = encap_in.read_string();
tc.discriminatorType = read(encap_in, toplevel, map);
int index = encap_in.read_long();
int count = encap_in.read_ulong();
tc.labels = new AnyImpl[count];
tc.memberNames = new String[count];