pyo3

Module buffer

Source
Available on non-Py_LIMITED_API or Py_3_11 only.
Expand description

PyBuffer implementation

Macrosยง

impl_element ๐Ÿ”’

Structsยง

PyBuffer
Allows access to the underlying buffer used by a python object such as bytes, bytearray or array.array.
ReadOnlyCell
Like std::cell::Cell, but only provides read-only access to the data.

Enumsยง

ElementType
Represents the type of a Python buffer element.

Traitsยง

Element
Trait implemented for possible element types of PyBuffer.

Functionsยง

is_matching_endian ๐Ÿ”’ Little-endian
native_element_type_from_type_char ๐Ÿ”’
standard_element_type_from_type_char ๐Ÿ”’
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here