Create a native string (NUL-terminated array of char ). Uses the encoding returned by Native#getDefaultStringEncoding().
(String string)
| 48 | * Uses the encoding returned by {@link Native#getDefaultStringEncoding()}. |
| 49 | */ |
| 50 | public NativeString(String string) { |
| 51 | this(string, Native.getDefaultStringEncoding()); |
| 52 | } |
| 53 | |
| 54 | /** Create a native string as a NUL-terminated array of <code>wchar_t</code> |
| 55 | * (if <code>wide</code> is true) or <code>char</code>.<p> |
nothing calls this directly
no test coverage detected