Package org.bytedeco.cpython
Class PyBytesObject
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.cpython.PyBytesObject
- 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.PyBytesObject(long size) Native array allocator.Pointer cast constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetPointer(long i) ob_base()ob_base(PyVarObject setter) longob_shash()Deprecated.ob_shash(long setter) ob_sval()byteob_sval(int i) ob_sval(int i, byte 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
-
PyBytesObject
public PyBytesObject()Default native constructor. -
PyBytesObject
public PyBytesObject(long size) Native array allocator. Access withPointer.position(long). -
PyBytesObject
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointerin classPointer
-
ob_base
-
ob_base
-
ob_shash
Deprecated. -
ob_shash
-
ob_sval
-
ob_sval
-
ob_sval
-