Lines Matching refs:bytearray
8 .. index:: object: bytearray
13 This subtype of :c:type:`PyObject` represents a Python bytearray object.
18 This instance of :c:type:`PyTypeObject` represents the Python bytearray type;
19 it is the same object as :class:`bytearray` in the Python layer.
27 Return true if the object *o* is a bytearray object or an instance of a
28 subtype of the bytearray type.
33 Return true if the object *o* is a bytearray object, but not an instance of a
34 subtype of the bytearray type.
42 Return a new bytearray object from any object, *o*, that implements the
50 Create a new bytearray object from *string* and its length, *len*. On
56 Concat bytearrays *a* and *b* and return a new bytearray with the result.
59 .. c:function:: Py_ssize_t PyByteArray_Size(PyObject *bytearray)
61 Return the size of *bytearray* after checking for a *NULL* pointer.
64 .. c:function:: char* PyByteArray_AsString(PyObject *bytearray)
66 Return the contents of *bytearray* as a char array after checking for a
71 .. c:function:: int PyByteArray_Resize(PyObject *bytearray, Py_ssize_t len)
73 Resize the internal buffer of *bytearray* to *len*.
80 .. c:function:: char* PyByteArray_AS_STRING(PyObject *bytearray)
85 .. c:function:: Py_ssize_t PyByteArray_GET_SIZE(PyObject *bytearray)