private byte[] GetBytes(SDBP_Buffer buffer) { unsafe { byte[] result = new byte[buffer.len]; Marshal.Copy(buffer.data, result, 0, result.Length); return(result); } }
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; }
internal static HandleRef getCPtr(SDBP_Buffer obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
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); }