This instance ofPyTypeObject represents the Python bytearray type;it is the same object asbytearray in the Python layer.
Return a new bytearray object from any object,o, that implements thebuffer protocol.
Create a new bytearray object fromstring and its length,len. Onfailure,NULL is returned.
Concat bytearraysa andb and return a new bytearray with the result.
Return the size ofbytearray after checking for aNULL pointer.
These macros trade safety for speed and they don’t check pointers.
Macro version ofPyByteArray_AsString().
Macro version ofPyByteArray_Size().
Enter search terms or a module, class or function name.