Package org.bytedeco.cpython
Class PyByteArrayObject
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.cpython.PyByteArrayObject
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDefault native constructor.PyByteArrayObject(long size) Native array allocator.Pointer cast constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetPointer(long i) longob_alloc()ob_alloc(long setter) ob_base()ob_base(PyVarObject setter) ob_bytes()ob_bytes(BytePointer setter) longob_exports(long setter) ob_start()ob_start(BytePointer setter) position(long position) Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
Constructor Details
-
PyByteArrayObject
public PyByteArrayObject()Default native constructor. -
PyByteArrayObject
public PyByteArrayObject(long size) Native array allocator. Access withPointer.position(long). -
PyByteArrayObject
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointerin classPointer
-
ob_base
-
ob_base
-
ob_alloc
-
ob_alloc
-
ob_bytes
-
ob_bytes
-
ob_start
-
ob_start
-
ob_exports
-
ob_exports
-