public void SetDescriptor(PByteArray value) { PapillonPINVOKE.PDescriptor_SetDescriptor__SWIG_0(swigCPtr, PByteArray.getCPtr(value)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void Append(PByteArray other) { PapillonPINVOKE.PByteArray_Append(swigCPtr, PByteArray.getCPtr(other)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PResult Save(PByteArray outputBuffer, PImage.EFileFormat format) { PResult ret = new PResult(PapillonPINVOKE.PImage_Save__SWIG_1(swigCPtr, PByteArray.getCPtr(outputBuffer), (int)format), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Load(PByteArray inputBuffer) { PResult ret = new PResult(PapillonPINVOKE.PImage_Load__SWIG_1(swigCPtr, PByteArray.getCPtr(inputBuffer)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult FromString(string s, PByteArray a) { PResult ret = new PResult(PapillonPINVOKE.PByteArray_FromString(s, PByteArray.getCPtr(a)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PByteArray DecodeFromBase64(PByteArray base64) { PByteArray ret = new PByteArray(PapillonPINVOKE.PByteArray_DecodeFromBase64(PByteArray.getCPtr(base64)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Receive(PByteArray message) { PResult ret = new PResult(PapillonPINVOKE.PSocket_Receive__SWIG_1(swigCPtr, PByteArray.getCPtr(message)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Send(PByteArray message, string filter) { PResult ret = new PResult(PapillonPINVOKE.PSocket_Send__SWIG_2(swigCPtr, PByteArray.getCPtr(message), filter), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult GetDescriptor(PByteArray value) { PResult ret = new PResult(PapillonPINVOKE.PDescriptor_GetDescriptor__SWIG_0(swigCPtr, PByteArray.getCPtr(value)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PByteArray(PByteArray other) : this(PapillonPINVOKE.new_PByteArray__SWIG_4(PByteArray.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PMemoryStream(PByteArray buffer) : this(PapillonPINVOKE.new_PMemoryStream__SWIG_2(PByteArray.getCPtr(buffer)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PResult WriteBytes(PByteArray sourceArray, int sourcePosition) { PResult ret = new PResult(PapillonPINVOKE.PByteStream_WriteBytes__SWIG_2(swigCPtr, PByteArray.getCPtr(sourceArray), sourcePosition), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult ReadBytes(PByteArray destinationArray, int position, int n) { PResult ret = new PResult(PapillonPINVOKE.PByteStream_ReadBytes__SWIG_1(swigCPtr, PByteArray.getCPtr(destinationArray), position, n), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }