private static final class CharSequenceArrayParameterConverter.StringArray extends InAccessibleMemoryIO
| Modifier and Type | Field and Description |
|---|---|
private java.nio.charset.Charset |
charset |
private Pointer |
memory |
private java.util.List<Pointer> |
stringMemory |
| Modifier | Constructor and Description |
|---|---|
private |
StringArray(Runtime runtime,
Pointer memory,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static CharSequenceArrayParameterConverter.StringArray |
allocate(Runtime runtime,
int capacity) |
(package private) java.lang.String |
get(int idx) |
(package private) void |
put(int idx,
java.lang.CharSequence str) |
long |
size()
Gets the size of this memory object in bytes (optional operation).
|
array, arrayLength, arrayOffset, error, get, get, get, get, get, get, getByte, getDouble, getFloat, getInt, getLong, getLongLong, getPointer, getPointer, getShort, getString, getString, hasArray, indexOf, put, put, put, put, put, put, putByte, putDouble, putFloat, putInt, putLong, putLongLong, putPointer, putShort, putString, setMemorycheckBounds, checkBounds, getAddress, getInt, getNativeLong, indexOf, putAddress, putAddress, putInt, putNativeLong, slice, slice, transferFrom, transferToaddress, get, getNullTerminatedPointerArray, getNullTerminatedStringArray, getRuntime, isDirect, newIntPointer, put, toString, wrap, wrap, wrapprivate final Pointer memory
private java.util.List<Pointer> stringMemory
private final java.nio.charset.Charset charset
java.lang.String get(int idx)
void put(int idx,
java.lang.CharSequence str)
public long size()
Pointerstatic CharSequenceArrayParameterConverter.StringArray allocate(Runtime runtime, int capacity)