Méthode | Description | |
---|---|---|
CreateNativeStr ( string str, |
Create native string.
|
|
CreateNativeStr ( string str, bool appendNull = true ) : |
Create native string.
|
|
CreateNativeStr ( string str, int &nativeLen, bool appendNull = true ) : |
Create native string.
|
|
FreeNativePtr ( |
Free native pointer resource.
|
|
FreeNativePtr ( void ptr ) : void |
Free native pointer resource.
|
|
Ptr2Str ( |
Convert Pointer to string. pointer pointer length
|
|
Ptr2Str ( byte ptr, int len ) : string |
Convert pointer to string.
|
public static CreateNativeStr ( string str, |
||
str | string | the managed string object |
nativeLen | native string length | |
appendNull | bool | auto append \0 character option, default is true |
Résultat |
public static CreateNativeStr ( string str, bool appendNull = true ) : |
||
str | string | the managed string object |
appendNull | bool | auto append \0 character option, default is true |
Résultat |
public static CreateNativeStr ( string str, int &nativeLen, bool appendNull = true ) : |
||
str | string | the managed string object |
nativeLen | int | native string length |
appendNull | bool | auto append \0 character option, default is true |
Résultat |
public static FreeNativePtr ( |
||
ptr | the native resource pointer | |
setToZero | bool | after free native pointer resource, need set to Zero or not |
Résultat | void |
public static FreeNativePtr ( void ptr ) : void | ||
ptr | void | the native resource pointer |
Résultat | void |
public static Ptr2Str ( |
||
ptr | ||
len | int | |
Résultat | string |
public static Ptr2Str ( byte ptr, int len ) : string | ||
ptr | byte | pointer |
len | int | pointer length |
Résultat | string |