This instance of PyTypeObject represents the Python bytearray type; it is the same object as bytearray in the Python layer.
Return a new bytearray object from any object, o, that implements the buffer protocol.
Create a new bytearray object from string and its length, len. On failure, NULL is returned.
Concat bytearrays a and b and return a new bytearray with the result.
Return the size of bytearray after checking for a NULL pointer.
These macros trade safety for speed and they don’t check pointers.
Macro version of PyByteArray_AsString().
Macro version of PyByteArray_Size().