@Properties(inherit=python.class) public class Py_buffer extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Py_buffer()
Default native constructor.
|
Py_buffer(long size)
Native array allocator.
|
Py_buffer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Pointer |
buf() |
Py_buffer |
buf(Pointer setter) |
BytePointer |
format() |
Py_buffer |
format(BytePointer setter) |
Py_buffer |
getPointer(long i) |
Pointer |
internal() |
Py_buffer |
internal(Pointer setter) |
long |
itemsize() |
Py_buffer |
itemsize(long setter) |
long |
len() |
Py_buffer |
len(long setter) |
int |
ndim() |
Py_buffer |
ndim(int setter) |
PyObject |
obj() |
Py_buffer |
obj(PyObject setter) |
Py_buffer |
position(long position) |
int |
readonly() |
Py_buffer |
readonly(int setter) |
SizeTPointer |
shape() |
Py_buffer |
shape(SizeTPointer setter) |
SizeTPointer |
strides() |
Py_buffer |
strides(SizeTPointer setter) |
SizeTPointer |
suboffsets() |
Py_buffer |
suboffsets(SizeTPointer setter) |
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
public Py_buffer()
public Py_buffer(long size)
Pointer.position(long)
.public Py_buffer(Pointer p)
Pointer(Pointer)
.public Py_buffer getPointer(long i)
getPointer
in class Pointer
public Pointer buf()
public PyObject obj()
public Py_buffer len(long setter)
public Py_buffer itemsize(long setter)
public int readonly()
public Py_buffer readonly(int setter)
public int ndim()
public Py_buffer ndim(int setter)
@Cast(value="char*") public BytePointer format()
public Py_buffer format(BytePointer setter)
@Cast(value="Py_ssize_t*") public SizeTPointer shape()
public Py_buffer shape(SizeTPointer setter)
@Cast(value="Py_ssize_t*") public SizeTPointer strides()
public Py_buffer strides(SizeTPointer setter)
@Cast(value="Py_ssize_t*") public SizeTPointer suboffsets()
public Py_buffer suboffsets(SizeTPointer setter)
public Pointer internal()
Copyright © 2024. All rights reserved.