René's URL Explorer Experiment
go
Title:
Buffer Protocol — Python 3.5.10 documentation
direct link
Domain:
docs.python.org
None
text/html; charset=utf-8
Links
:
Python documentation for the current stable release
https://docs.python.org/3/c-api/buffer.html
index
https://docs.python.org/3.5/genindex.html
modules
https://docs.python.org/3.5/py-modindex.html
next
https://docs.python.org/3.5/c-api/objbuffer.html
previous
https://docs.python.org/3.5/c-api/iter.html
Python
https://www.python.org/
3.5.10 Documentation
https://docs.python.org/3.5/index.html
Python/C API Reference Manual
https://docs.python.org/3.5/c-api/index.html
Abstract Objects Layer
https://docs.python.org/3.5/c-api/abstract.html
¶
https://docs.python.org/3.5/c-api/buffer.html#buffer-protocol
bytes
https://docs.python.org/3.5/library/functions.html#bytes
bytearray
https://docs.python.org/3.5/library/functions.html#bytearray
array.array
https://docs.python.org/3.5/library/array.html#array.array
buffer protocol
https://docs.python.org/3.5/c-api/buffer.html#bufferobjects
Buffer Object Structures
https://docs.python.org/3.5/c-api/typeobj.html#buffer-structs
bytes
https://docs.python.org/3.5/library/functions.html#bytes
bytearray
https://docs.python.org/3.5/library/functions.html#bytearray
array.array
https://docs.python.org/3.5/library/array.html#array.array
write()
https://docs.python.org/3.5/library/io.html#io.BufferedIOBase.write
readinto()
https://docs.python.org/3.5/library/io.html#io.BufferedIOBase.readinto
PyObject_GetBuffer()
https://docs.python.org/3.5/c-api/buffer.html#c.PyObject_GetBuffer
PyArg_ParseTuple()
https://docs.python.org/3.5/c-api/arg.html#c.PyArg_ParseTuple
format codes
https://docs.python.org/3.5/c-api/arg.html#arg-parsing
PyBuffer_Release()
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_Release
¶
https://docs.python.org/3.5/c-api/buffer.html#buffer-structure
PyObject
https://docs.python.org/3.5/c-api/structures.html#c.PyObject
memoryview
https://docs.python.org/3.5/c-api/memoryview.html#memoryview-objects
Buffer Object Structures
https://docs.python.org/3.5/c-api/typeobj.html#buffer-structs
PyObject_GetBuffer()
https://docs.python.org/3.5/c-api/buffer.html#c.PyObject_GetBuffer
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.buf
strides
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.strides
contiguous
https://docs.python.org/3.5/glossary.html#term-contiguous
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.obj
PyBuffer_Release()
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_Release
PyMemoryView_FromBuffer()
https://docs.python.org/3.5/c-api/memoryview.html#c.PyMemoryView_FromBuffer
PyBuffer_FillInfo()
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_FillInfo
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.len
PyBUF_SIMPLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_SIMPLE
PyBUF_WRITABLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_WRITABLE
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.readonly
PyBUF_WRITABLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_WRITABLE
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.itemsize
struct.calcsize()
https://docs.python.org/3.5/library/struct.html#struct.calcsize
format
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.format
PyBUF_FORMAT
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_FORMAT
format
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.format
itemsize
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.itemsize
shape
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.shape
itemsize
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.itemsize
shape
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.shape
PyBUF_SIMPLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_SIMPLE
PyBUF_WRITABLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_WRITABLE
itemsize
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.itemsize
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.format
struct
https://docs.python.org/3.5/library/struct.html#module-struct
PyBUF_FORMAT
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_FORMAT
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.ndim
buf
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.buf
shape
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.shape
strides
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.strides
suboffsets
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.suboffsets
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.shape
ndim
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.ndim
len
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.len
complex arrays
https://docs.python.org/3.5/c-api/buffer.html#complex-arrays
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.strides
ndim
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.ndim
complex arrays
https://docs.python.org/3.5/c-api/buffer.html#complex-arrays
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.suboffsets
ndim
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.ndim
complex arrays
https://docs.python.org/3.5/c-api/buffer.html#complex-arrays
¶
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.internal
¶
https://docs.python.org/3.5/c-api/buffer.html#buffer-request-types
PyObject_GetBuffer()
https://docs.python.org/3.5/c-api/buffer.html#c.PyObject_GetBuffer
Py_buffer
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer
¶
https://docs.python.org/3.5/c-api/buffer.html#request-independent-fields
obj
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.obj
buf
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.buf
len
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.len
itemsize
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.itemsize
ndim
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.ndim
¶
https://docs.python.org/3.5/c-api/buffer.html#readonly-format
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_WRITABLE
readonly
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.readonly
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_FORMAT
format
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.format
PyBUF_WRITABLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_WRITABLE
PyBUF_SIMPLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_SIMPLE
PyBUF_WRITABLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_WRITABLE
PyBUF_FORMAT
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_FORMAT
PyBUF_SIMPLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_SIMPLE
¶
https://docs.python.org/3.5/c-api/buffer.html#shape-strides-suboffsets
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_INDIRECT
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_STRIDES
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_ND
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_SIMPLE
¶
https://docs.python.org/3.5/c-api/buffer.html#contiguity-requests
contiguity
https://docs.python.org/3.5/glossary.html#term-contiguous
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_C_CONTIGUOUS
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_F_CONTIGUOUS
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_ANY_CONTIGUOUS
¶
https://docs.python.org/3.5/c-api/buffer.html#compound-requests
PyBuffer_IsContiguous()
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_IsContiguous
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_FULL
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_FULL_RO
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_RECORDS
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_RECORDS_RO
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_STRIDED
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_STRIDED_RO
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_CONTIG
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_CONTIG_RO
¶
https://docs.python.org/3.5/c-api/buffer.html#complex-arrays
¶
https://docs.python.org/3.5/c-api/buffer.html#numpy-style-shape-and-strides
itemsize
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.itemsize
ndim
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.ndim
shape
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.shape
strides
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.strides
buf
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.buf
itemsize
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.itemsize
shape
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.shape
strides
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.strides
strides
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.strides
buf
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.buf
¶
https://docs.python.org/3.5/c-api/buffer.html#pil-style-shape-strides-and-suboffsets
buf
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.buf
¶
https://docs.python.org/3.5/c-api/buffer.html#buffer-related-functions
PyObject
https://docs.python.org/3.5/c-api/structures.html#c.PyObject
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyObject_CheckBuffer
PyObject_GetBuffer()
https://docs.python.org/3.5/c-api/buffer.html#c.PyObject_GetBuffer
PyObject
https://docs.python.org/3.5/c-api/structures.html#c.PyObject
Py_buffer
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyObject_GetBuffer
Buffer Object Structures
https://docs.python.org/3.5/c-api/typeobj.html#buffer-structs
PyObject_GetBuffer()
https://docs.python.org/3.5/c-api/buffer.html#c.PyObject_GetBuffer
PyBuffer_Release()
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_Release
PyBuffer_Release()
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_Release
Py_buffer
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_Release
PyObject_GetBuffer()
https://docs.python.org/3.5/c-api/buffer.html#c.PyObject_GetBuffer
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_SizeFromFormat
itemsize
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.itemsize
format
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer.format
Py_buffer
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_IsContiguous
contiguous
https://docs.python.org/3.5/glossary.html#term-contiguous
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_FillContiguousStrides
contiguous
https://docs.python.org/3.5/glossary.html#term-contiguous
Py_buffer
https://docs.python.org/3.5/c-api/buffer.html#c.Py_buffer
PyObject
https://docs.python.org/3.5/c-api/structures.html#c.PyObject
¶
https://docs.python.org/3.5/c-api/buffer.html#c.PyBuffer_FillInfo
PyBUF_WRITABLE
https://docs.python.org/3.5/c-api/buffer.html#c.PyBUF_WRITABLE
getbufferproc
https://docs.python.org/3.5/c-api/typeobj.html#buffer-structs
Table of Contents
https://docs.python.org/3.5/contents.html
Buffer Protocol
https://docs.python.org/3.5/c-api/buffer.html
Buffer structure
https://docs.python.org/3.5/c-api/buffer.html#buffer-structure
Buffer request types
https://docs.python.org/3.5/c-api/buffer.html#buffer-request-types
request-independent fields
https://docs.python.org/3.5/c-api/buffer.html#request-independent-fields
readonly, format
https://docs.python.org/3.5/c-api/buffer.html#readonly-format
shape, strides, suboffsets
https://docs.python.org/3.5/c-api/buffer.html#shape-strides-suboffsets
contiguity requests
https://docs.python.org/3.5/c-api/buffer.html#contiguity-requests
compound requests
https://docs.python.org/3.5/c-api/buffer.html#compound-requests
Complex arrays
https://docs.python.org/3.5/c-api/buffer.html#complex-arrays
NumPy-style: shape and strides
https://docs.python.org/3.5/c-api/buffer.html#numpy-style-shape-and-strides
PIL-style: shape, strides and suboffsets
https://docs.python.org/3.5/c-api/buffer.html#pil-style-shape-strides-and-suboffsets
Buffer-related functions
https://docs.python.org/3.5/c-api/buffer.html#buffer-related-functions
Iterator Protocol
https://docs.python.org/3.5/c-api/iter.html
Old Buffer Protocol
https://docs.python.org/3.5/c-api/objbuffer.html
Report a Bug
https://docs.python.org/3.5/bugs.html
Show Source
https://github.com/python/cpython/blob/3.5/Doc/c-api/buffer.rst
index
https://docs.python.org/3.5/genindex.html
modules
https://docs.python.org/3.5/py-modindex.html
next
https://docs.python.org/3.5/c-api/objbuffer.html
previous
https://docs.python.org/3.5/c-api/iter.html
Python
https://www.python.org/
3.5.10 Documentation
https://docs.python.org/3.5/index.html
Python/C API Reference Manual
https://docs.python.org/3.5/c-api/index.html
Abstract Objects Layer
https://docs.python.org/3.5/c-api/abstract.html
Copyright
https://docs.python.org/3.5/copyright.html
Please donate.
https://www.python.org/psf/donations/
Found a bug
https://docs.python.org/3.5/bugs.html
Sphinx
http://sphinx.pocoo.org/
URLs of
crawlers that visited me
.