public class ResizingPointer extends Pointer
Pointer.Const, Pointer.OutOnly, Pointer.Void
POINTER_LENGTH
LICENSE_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, writeReferencedObject
asReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, hashCode, indent, read, setDataBuffer, toByteArray
public ResizingPointer(ArrayParameter array)
public ResizingPointer(ArrayParameter array, boolean isNull)
isNull
is true
.public void write(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
write
in class Pointer
MemoryAccessViolationException
public void read(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
read
in class Pointer
MemoryAccessViolationException
public void readArray(int count)
count
- a new element count.