public abstract class Base1DBuffer extends BaseBuffer
BaseBuffer mostly applies.PyBuffer.PointerANY_CONTIGUOUS, AS_ARRAY, C_CONTIGUOUS, CONTIG, CONTIG_RO, CONTIGUITY, F_CONTIGUOUS, FORMAT, FULL, FULL_RO, INDIRECT, IS_C_CONTIGUOUS, IS_F_CONTIGUOUS, MAX_NDIM, NAVIGATION, ND, RECORDS, RECORDS_RO, SIMPLE, STRIDED, STRIDED_RO, STRIDES, WRITABLE| Modifier and Type | Method and Description |
|---|---|
int |
getLen()
The total number of bytes represented by the view, which will be the product of the elements
of the
shape array, and the item size in bytes. |
boolean |
isContiguous(char order)
Enquire whether the array is represented contiguously in the backing storage, according to C
or Fortran ordering.
|
byteAt, byteAt, byteIndex, byteIndex, close, copyFrom, copyFrom, copyTo, copyTo, getBuf, getBuffer, getBufferAgain, getBufferSlice, getFormat, getItemsize, getNdim, getNIOByteBuffer, getObj, getPointer, getPointer, getShape, getStrides, getSuboffsets, hasArray, intAt, intAt, isReadonly, isReleased, release, storeAt, storeAt, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBufferSlicepublic int getLen()
PyBUFshape array, and the item size in bytes.getLen in interface PyBUFgetLen in class BaseBufferpublic boolean isContiguous(char order)
Specialised in BaseArrayBuffer to one dimension.
isContiguous in interface PyBUFisContiguous in class BaseBufferorder - 'C', 'F' or 'A', as the storage order is C, Fortran or either.