(byte* InText)
| 6 | public static unsafe class StringBridge |
| 7 | { |
| 8 | [UnmanagedCallersOnly] |
| 9 | public static nint NewString(byte* InText) |
| 10 | { |
| 11 | if (InText != null) |
| 12 | { |
| 13 | return HandleData.AllocImplementation(Marshal.PtrToStringUTF8((nint)InText)!); |
| 14 | } |
| 15 | |
| 16 | return 0; |
| 17 | } |
| 18 | |
| 19 | [UnmanagedCallersOnly] |
| 20 | public static int GetString(nint InHandle, char* InBuffer, int InSize) |
nothing calls this directly
no test coverage detected