public XsByteArray(XsByteArray other) : this(xsensdeviceapiPINVOKE.new_XsByteArray__SWIG_3(XsByteArray.getCPtr(other)), true) { if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public void setRawBlob(XsByteArray data) { xsensdeviceapiPINVOKE.XsDataPacket_setRawBlob(swigCPtr, XsByteArray.getCPtr(data)); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
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); }
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); }
public XsByteArray componentsInformation() { XsByteArray ret = new XsByteArray(xsensdeviceapiPINVOKE.XsDevice_componentsInformation(swigCPtr), true); return(ret); }
public XsByteArray rawMessage() { XsByteArray ret = new XsByteArray(xsensdeviceapiPINVOKE.XsMessage_rawMessage(swigCPtr), false); return(ret); }
public XsByteArray rawBlob() { XsByteArray ret = new XsByteArray(xsensdeviceapiPINVOKE.XsDataPacket_rawBlob(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsByteArray obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }