construct buffer view. Probe for capabilities this object supports.
Construct buffer view. Don't probe for capabilities; assume object supports capabilities implied by flags.
_
_
Get the raw bytes of this buffer
Get the struct-style format of the element type of this buffer.
_
Get number of dimensions of this buffer.
_
_
_
_
supports PyBUF_C_CONTIGUOUS.
buffer is row-major.
supports PyBUF_F_CONTIGUOUS.
buffer is column-major
supports PyBUF_INDIRECT.
i.e. buffer supplies suboffsets.
supports PyBUF_ND.
i.e. buffer supplies ndim, shape.
supports PyBUF_SIMPLE.
should always be true.
supports PyBUF_STRIDES.
i.e. buffer supplies strides.
exposes a lowish-level wrapper of the new-style buffer interface