Inheritance: IDisposable
Exemple #1
0
 private byte[] GetBytes(SDBP_Buffer buffer)
 {
     unsafe
     {
         byte[] result = new byte[buffer.len];
         Marshal.Copy(buffer.data, result, 0, result.Length);
         return(result);
     }
 }
Exemple #2
0
 public static unsafe SDBP_Buffer SDBP_ResultValueBuffer(SWIGTYPE_p_void result)
 {
     SDBP_Buffer ret = new SDBP_Buffer(scaliendb_clientPINVOKE.SDBP_ResultValueBuffer(SWIGTYPE_p_void.getCPtr(result)), true);
     return ret;
 }
Exemple #3
0
 internal static HandleRef getCPtr(SDBP_Buffer obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #4
0
 internal static HandleRef getCPtr(SDBP_Buffer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
        public unsafe static SDBP_Buffer SDBP_ResultValueBuffer(SWIGTYPE_p_void result)
        {
            SDBP_Buffer ret = new SDBP_Buffer(scaliendb_clientPINVOKE.SDBP_ResultValueBuffer(SWIGTYPE_p_void.getCPtr(result)), true);

            return(ret);
        }