Lines Matching defs:bytes
1316 the buffer length in bytes.
1367 If the items in the array are not 1, 2, 4, or 8 bytes in size, RuntimeError is
1497 "read() didn't return bytes");
1511 "read() didn't return enough bytes");
1550 PyObject *bytes, *res;
1554 bytes = PyBytes_FromStringAndSize(ptr, size);
1555 if (bytes == NULL)
1557 res = PyObject_CallMethodOneArg(f, state->str_write, bytes);
1558 Py_DECREF(bytes);
1646 PyErr_SetString(PyExc_TypeError, "a bytes-like object is required");
1653 "bytes length not a multiple of item size");
1694 Convert the array to an array of machine values and return the bytes representation.
1775 Size of the array in memory, in bytes.
1924 * type code. The items argument is a bytes or a list object from which
2018 "fourth argument should be bytes, not %.200s",
2241 * coercing unicode objects to bytes in array_reconstructor.
2285 "the size, in bytes, of one array item"},
2768 Type code C Type Minimum size in bytes\n\
2784 narrow builds this is 2-bytes on wide builds this is 4-bytes.\n\
2812 itemsize -- the length in bytes of one array item\n\