Package org.bytedeco.cpython
Class Py_buffer
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.cpython.Py_buffer
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuf()format()format(BytePointer setter) getPointer(long i) internal()longitemsize()itemsize(long setter) longlen()len(long setter) intndim()ndim(int setter) obj()position(long position) intreadonly()readonly(int setter) shape()shape(SizeTPointer setter) strides()strides(SizeTPointer setter) suboffsets(SizeTPointer setter) 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
-
Py_buffer
public Py_buffer()Default native constructor. -
Py_buffer
public Py_buffer(long size) Native array allocator. Access withPointer.position(long). -
Py_buffer
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointerin classPointer
-
buf
-
buf
-
obj
-
obj
-
len
-
len
-
itemsize
-
itemsize
-
readonly
public int readonly() -
readonly
-
ndim
public int ndim() -
ndim
-
format
-
format
-
shape
-
shape
-
strides
-
strides
-
suboffsets
-
suboffsets
-
internal
-
internal
-