public void type(RawBytePacket.PacketType type) { msclPINVOKE.RawBytePacket_type__SWIG_0(swigCPtr, (int)type); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public RawBytePacket.PacketType type() { RawBytePacket.PacketType ret = (RawBytePacket.PacketType)msclPINVOKE.RawBytePacket_type__SWIG_1(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }