crystalspace.jbind.impl
Class csNativeByteArray
java.lang.Object
crystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csNativeByteArray
- All Implemented Interfaces:
- iPointer
- public class csNativeByteArray
- extends csNativeObject
- Author:
- Quentin Anciaux
Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, equals, finalize, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
csNativeByteArray
public csNativeByteArray(iPointer nPointer,
int length)
- Parameters:
nPointer
-
csNativeByteArray
public csNativeByteArray(int length)
csNativeByteArray
public csNativeByteArray(byte[] array)
nDelete
protected void nDelete(long pointer)
- Specified by:
nDelete
in class csNativeObject
- See Also:
csNativeObject.nDelete(long)
isNativePointerValidSafe
protected boolean isNativePointerValidSafe(long pointer)
- Specified by:
isNativePointerValidSafe
in class csNativeObject
- See Also:
csNativeObject.isNativePointerValidSafe(long)
item
public byte item(int idx)
item
public void item(int idx,
byte b)
getArray
public byte[] getArray()
getLength
public int getLength()