메소드 | 설명 | |
---|---|---|
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 |