public static class PyBuffer.Pointer extends Object
byte[]
array and a particular offset within it, as the
return type for methods that give direct access to byte-oriented data exported by a Python
object. In some contexts the consumer will be entitled to make changes to the contents of
this array, and in others not. See PyBUF.isReadonly()
. It is used by the Jython
buffer API roughly where the CPython buffer API uses a C (char *) pointer.Modifier and Type | Field and Description |
---|---|
int |
offset
Starting position within the array for the data being pointed to.
|
byte[] |
storage
Reference to the array holding the bytes.
|
Constructor and Description |
---|
PyBuffer.Pointer(byte[] storage,
int offset)
Construct a reference to the given array and offset.
|