Example #1
0
 public static void uplink_free_read_result(UplinkReadResult result)
 {
     storj_uplinkPINVOKE.uplink_free_read_result(UplinkReadResult.getCPtr(result));
     if (storj_uplinkPINVOKE.SWIGPendingException.Pending)
     {
         throw storj_uplinkPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public static UplinkReadResult uplink_download_read(UplinkDownload download, SWIGTYPE_p_void bytes, uint length)
        {
            UplinkReadResult ret = new UplinkReadResult(storj_uplinkPINVOKE.uplink_download_read(UplinkDownload.getCPtr(download), SWIGTYPE_p_void.getCPtr(bytes), length), true);

            return(ret);
        }
Example #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UplinkReadResult obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }