// Set endian for the stream
in.setLittleEndian ((0x01 & header.flags) != 0);
header.packet_length = in.read_ushort ();
header.packet_number = in.read_ulong ();
header.number_of_packets = in.read_ulong ();
header.Id = org.omg.MIOP.UniqueIdHelper.read (in);
int pos = in.get_pos ();
// difference to next MulticastUtil.BOUNDARY (which is an 8 byte boundary)
int header_padding = MulticastUtil.BOUNDARY - (pos % MulticastUtil.BOUNDARY);