public static class Pointer.Const extends Pointer
Pointer.Const, Pointer.OutOnly, Pointer.VoidPOINTER_LENGTHLICENSE_TYPE, V| Constructor and Description |
|---|
Const(java.lang.Class parameterClass) |
Const(Parameter ref)
Constructs a new pointer to a given object.
|
Const(Parameter ref,
boolean isNull)
Constructs a new pointer to a given object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
void |
pop(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Default implementation that does nothing because most primitive types do
nothing on pop.
|
void |
push(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes a parameter to a function stacks.
|
void |
write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes this parameter to a specified data source.
|
acceptIOPerformer, asTypedPointer, asVoidPointer, castTo, castTo, checkMemHandleLength, equals, getDebugInfo, getLength, getParameterClass, getPointerHandle, getReferencedObject, isNull, read, read, readPointer, readReferencedObject, setExternalSource, setNull, setReferencedObject, setReferencedObject, write, writePointer, writeReferencedObjectasReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, hashCode, indent, read, setDataBuffer, toByteArraypublic Const(Parameter ref)
ref - referenced object.public Const(Parameter ref, boolean isNull)
ref - referenced objectisNull - if true the constructed pointer is null.public Const(java.lang.Class parameterClass)
public void write(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameterwrite in class PointerMemoryAccessViolationExceptionpublic void push(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameterpush in class PointerMemoryAccessViolationExceptionpublic void pop(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameterpop in class PointerMemoryAccessViolationException