public interface BufferProtocol
PyBuffer.| Modifier and Type | Method and Description |
|---|---|
PyBuffer |
getBuffer(int flags)
Method by which the consumer requests the buffer from the exporter.
|
PyBuffer getBuffer(int flags) throws PyException
PyBuffer.release() on the buffer it
obtained, since some objects alter their behaviour while buffers are exported.flags - specifying features demanded and the navigational capabilities of the consumerPyException - (BufferError) when expectations do not correspond with the buffer