public class StringArray extends Memory implements Function.PostCallRead
char* or wchar_t* type
by managing allocation/disposal of native strings within an array of
pointers. An extra NULL pointer is always added to the end of the native
pointer array for convenience.| Constructor and Description |
|---|
StringArray(java.lang.String[] strings)
Create a native array of strings.
|
StringArray(java.lang.String[] strings,
boolean wide)
Create a native array of wide strings.
|
StringArray(WString[] strings)
Create a native array of wide strings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
read()
Read back from native memory.
|
align, boundsCheck, clear, finalize, free, getByte, getByteBuffer, getChar, getDouble, getFloat, getInt, getLong, getPointer, getShort, getSize, getString, isValid, malloc, read, read, read, read, read, read, read, setByte, setChar, setDouble, setFloat, setInt, setLong, setPointer, setShort, setString, share, share, toString, write, write, write, write, write, write, writeclear, createConstant, equals, getByteArray, getCharArray, getDoubleArray, getFloatArray, getIntArray, getLongArray, getNativeLong, getPointerArray, getShortArray, getString, hashCode, indexOf, read, setMemory, setNativeLong, setString, writepublic StringArray(java.lang.String[] strings)
public StringArray(java.lang.String[] strings,
boolean wide)
public StringArray(WString[] strings)
public void read()
read in interface Function.PostCallRead