public class ResizingPointer extends Pointer
Pointer.Const, Pointer.OutOnly, Pointer.VoidPOINTER_LENGTHLICENSE_TYPE, V| Constructor and Description |
|---|
ResizingPointer(ArrayParameter array)
Constructs a new pointer to a given array.
|
ResizingPointer(ArrayParameter array,
boolean isNull)
Constructs a new pointer to a given array.
|
| Modifier and Type | Method and Description |
|---|---|
void |
read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Reads this parameter from a specified data source.
|
void |
readArray(int count)
Reads the resized array.
|
void |
write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes this parameter to a specified data source.
|
acceptIOPerformer, asTypedPointer, asVoidPointer, castTo, castTo, checkMemHandleLength, clone, equals, getDebugInfo, getLength, getParameterClass, getPointerHandle, getReferencedObject, isNull, pop, push, read, readPointer, readReferencedObject, setExternalSource, setNull, setReferencedObject, setReferencedObject, write, writePointer, writeReferencedObjectasReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, hashCode, indent, read, setDataBuffer, toByteArraypublic ResizingPointer(ArrayParameter array)
public ResizingPointer(ArrayParameter array, boolean isNull)
isNull is true.public void write(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameterwrite in class PointerMemoryAccessViolationExceptionpublic void read(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameterread in class PointerMemoryAccessViolationExceptionpublic void readArray(int count)
count - a new element count.