NIM C# SDK  6.3.0
NimUtility.IntPtrExtensions Class Reference

IntPtr 的一些辅助操作,解决.NET framework 4.0以下不支持IntPtr add等操作 More...

Static Public Member Functions

static IntPtr Decrement (this IntPtr pointer, Int32 value)
 
static IntPtr Decrement (this IntPtr pointer, Int64 value)
 
static IntPtr Decrement (this IntPtr pointer, IntPtr value)
 
static IntPtr Increment (this IntPtr pointer, Int32 value)
 
static IntPtr Increment (this IntPtr pointer, Int64 value)
 
static IntPtr Increment (this IntPtr pointer, IntPtr value)
 
static IntPtr CreateFromeIntPtr (this IntPtr pointer)
 

Detailed Description

IntPtr 的一些辅助操作,解决.NET framework 4.0以下不支持IntPtr add等操作

Member Function Documentation

◆ CreateFromeIntPtr()

static IntPtr NimUtility.IntPtrExtensions.CreateFromeIntPtr ( this IntPtr  pointer)
static

◆ Decrement() [1/3]

static IntPtr NimUtility.IntPtrExtensions.Decrement ( this IntPtr  pointer,
Int32  value 
)
static

◆ Decrement() [2/3]

static IntPtr NimUtility.IntPtrExtensions.Decrement ( this IntPtr  pointer,
Int64  value 
)
static

◆ Decrement() [3/3]

static IntPtr NimUtility.IntPtrExtensions.Decrement ( this IntPtr  pointer,
IntPtr  value 
)
static

◆ Increment() [1/3]

static IntPtr NimUtility.IntPtrExtensions.Increment ( this IntPtr  pointer,
Int32  value 
)
static

◆ Increment() [2/3]

static IntPtr NimUtility.IntPtrExtensions.Increment ( this IntPtr  pointer,
Int64  value 
)
static

◆ Increment() [3/3]

static IntPtr NimUtility.IntPtrExtensions.Increment ( this IntPtr  pointer,
IntPtr  value 
)
static