Метод | Описание | |
---|---|---|
PtrToString ( |
Convert a pointer of string to managed string.
|
|
PtrToStringArray ( |
||
PtrsToStringArray ( |
Convert a pointer array to String array.
|
|
StringArrayToPtr ( String strings ) : |
Get a pointer of String array.
|
|
StringToPtr ( String str ) : AutoFreeGCHandle |
Pinned a String to get pointer of this.
|
|
StringToPtr ( String str, int length ) : AutoFreeGCHandle |
Pinned a String to get pointer of this.
|
public static PtrToString ( |
||
ptr | pointer of string | |
encoding | encoding of string | |
count | int | count of string, -1 mean auto check the end char |
Результат | String |
public static PtrToStringArray ( |
||
ptr | ||
Результат | String[] |
public static PtrsToStringArray ( |
||
ptrs | pointer array | |
length | int | length of pointer array |
Результат | String[] |
public static StringArrayToPtr ( String strings ) : |
||
strings | String | |
Результат |
public static StringToPtr ( String str ) : AutoFreeGCHandle | ||
str | String | string you need pinned |
Результат | AutoFreeGCHandle |
public static StringToPtr ( String str, int length ) : AutoFreeGCHandle | ||
str | String | string you need pinned |
length | int | |
Результат | AutoFreeGCHandle |