public BytesCollection(BytesCollection other) : this(msclPINVOKE.new_BytesCollection__SWIG_1(BytesCollection.getCPtr(other)), true) { if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public BytesCollectionEnumerator(BytesCollection collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public MipCommandBytes(MipTypes.Command _id, BytesCollection _cmds) : this(msclPINVOKE.new_MipCommandBytes__SWIG_3((int)_id, BytesCollection.getCPtr(_cmds)), true) { if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, BytesCollection values) { msclPINVOKE.BytesCollection_SetRange(swigCPtr, index, BytesCollection.getCPtr(values)); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public static BytesCollection Repeat(Bytes value, int count) { global::System.IntPtr cPtr = msclPINVOKE.BytesCollection_Repeat(Bytes.getCPtr(value), count); BytesCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new BytesCollection(cPtr, true); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public BytesCollection GetRange(int index, int count) { global::System.IntPtr cPtr = msclPINVOKE.BytesCollection_GetRange(swigCPtr, index, count); BytesCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new BytesCollection(cPtr, true); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BytesCollection obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }