public Transport_address(byte[] in) { transportaddress = new byte[in.length]; transportaddress = in; byte[] tmpUint2 = new byte[2]; tmpUint2[0] = in[0]; tmpUint2[1] = in[1]; UInt32 family = new UInt32(); value_i = family.UInt32ToInt(tmpUint2); byte[] add = new byte[in.length - 2]; for (int i = 0, j = 2; j < in.length; i++) { add[i] = in[j]; } value_os = new Octet_String(add); }
public CELL_ID(UInt32 uint) { value = uint.UInt32ToInt(uint.getValue()); cellID = new byte[uint.getValue().length]; cellID = uint.getValue(); }