public XsByteArrayImpl(XsByteArrayImpl other) : this(xsensdeviceapiPINVOKE.new_XsByteArrayImpl__SWIG_3(XsByteArrayImpl.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void swap(XsByteArrayImpl other)
 {
     xsensdeviceapiPINVOKE.XsByteArrayImpl_swap(swigCPtr, XsByteArrayImpl.getCPtr(other));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsByteArrayImpl obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }