public void setRawBlob(XsByteArray data)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setRawBlob(swigCPtr, XsByteArray.getCPtr(data));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public int read(XsByteArray buffer)
        {
            int ret = xsensdeviceapiPINVOKE.XsSocket_read__SWIG_1(swigCPtr, XsByteArray.getCPtr(buffer));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #3
0
        public int writeTo(XsByteArray buffer, XsString hostname, ushort port)
        {
            int ret = xsensdeviceapiPINVOKE.XsSocket_writeTo__SWIG_0(swigCPtr, XsByteArray.getCPtr(buffer), XsString.getCPtr(hostname), port);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #4
0
        public int readFrom(XsByteArray buffer, XsString hostname)
        {
            int ret = xsensdeviceapiPINVOKE.XsSocket_readFrom__SWIG_2(swigCPtr, XsByteArray.getCPtr(buffer), XsString.getCPtr(hostname));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        public int readFrom(XsByteArray buffer, XsString hostname, SWIGTYPE_p_unsigned_short port)
        {
            int ret = xsensdeviceapiPINVOKE.XsSocket_readFrom__SWIG_1(swigCPtr, XsByteArray.getCPtr(buffer), XsString.getCPtr(hostname), SWIGTYPE_p_unsigned_short.getCPtr(port));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
 public XsByteArray(XsByteArray other) : this(xsensdeviceapiPINVOKE.new_XsByteArray__SWIG_3(XsByteArray.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }