René's URL Explorer Experiment


Title: Bytes Objects — Python 3.15.0a5 documentation

Open Graph Title: Bytes Objects

Description: These functions raise TypeError when expecting a bytes parameter and called with a non-bytes parameter. PyBytesWriter: The PyBytesWriter API can be used to create a Python bytes object. Create, Fin...

Open Graph Description: These functions raise TypeError when expecting a bytes parameter and called with a non-bytes parameter. PyBytesWriter: The PyBytesWriter API can be used to create a Python bytes object. Create, Fin...

Opengraph URL: https://docs.python.org/3/c-api/bytes.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/_images/social_previews/summary_c-api_bytes_71eabe3f.png
og:image:altThese functions raise TypeError when expecting a bytes parameter and called with a non-bytes parameter. PyBytesWriter: The PyBytesWriter API can be used to create a Python bytes object. Create, Fin...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/dev/contents.html
Bytes Objectshttps://docs.python.org/dev/c-api/bytes.html
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#pybyteswriter
Create, Finish, Discardhttps://docs.python.org/dev/c-api/bytes.html#create-finish-discard
High-level APIhttps://docs.python.org/dev/c-api/bytes.html#high-level-api
Gettershttps://docs.python.org/dev/c-api/bytes.html#getters
Low-level APIhttps://docs.python.org/dev/c-api/bytes.html#low-level-api
Complex Number Objectshttps://docs.python.org/dev/c-api/complex.html
Byte Array Objectshttps://docs.python.org/dev/c-api/bytearray.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/c-api/bytes.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/c-api/bytearray.html
previoushttps://docs.python.org/dev/c-api/complex.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
Python/C API Reference Manualhttps://docs.python.org/dev/c-api/index.html
Concrete Objects Layerhttps://docs.python.org/dev/c-api/concrete.html
Bytes Objectshttps://docs.python.org/dev/c-api/bytes.html
https://docs.python.org/dev/c-api/bytes.html#bytes-objects
TypeErrorhttps://docs.python.org/dev/library/exceptions.html#TypeError
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyTypeObjecthttps://docs.python.org/dev/c-api/type.html#c.PyTypeObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_Type
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyTypeObjecthttps://docs.python.org/dev/c-api/type.html#c.PyTypeObject
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_Check
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_CheckExact
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_FromString
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_FromStringAndSize
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
soft deprecatedhttps://docs.python.org/dev/glossary.html#term-soft-deprecated
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_FromFormat
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
[1]https://docs.python.org/dev/c-api/bytes.html#id9
[1]https://docs.python.org/dev/c-api/bytes.html#id9
[1]https://docs.python.org/dev/c-api/bytes.html#id9
[1]https://docs.python.org/dev/c-api/bytes.html#id9
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
[1]https://docs.python.org/dev/c-api/bytes.html#id9
[1]https://docs.python.org/dev/c-api/bytes.html#id9
[1]https://docs.python.org/dev/c-api/bytes.html#id9
[1]https://docs.python.org/dev/c-api/bytes.html#id9
1https://docs.python.org/dev/c-api/bytes.html#id1
2https://docs.python.org/dev/c-api/bytes.html#id2
3https://docs.python.org/dev/c-api/bytes.html#id3
4https://docs.python.org/dev/c-api/bytes.html#id4
5https://docs.python.org/dev/c-api/bytes.html#id5
6https://docs.python.org/dev/c-api/bytes.html#id6
7https://docs.python.org/dev/c-api/bytes.html#id7
8https://docs.python.org/dev/c-api/bytes.html#id8
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_FromFormatV
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyBytes_FromFormat()https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_FromFormat
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_FromObject
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_Size
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_GET_SIZE
PyBytes_Size()https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_Size
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_AsString
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyBytes_AsString()https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_AsString
TypeErrorhttps://docs.python.org/dev/library/exceptions.html#TypeError
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_AS_STRING
PyBytes_AsString()https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_AsString
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_AsStringAndSize
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
PyBytes_AsStringAndSize()https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_AsStringAndSize
TypeErrorhttps://docs.python.org/dev/library/exceptions.html#TypeError
TypeErrorhttps://docs.python.org/dev/library/exceptions.html#TypeError
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_Concat
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_ConcatAndDel
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
strong referencehttps://docs.python.org/dev/glossary.html#term-strong-reference
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_Join
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
PyUnicode_Join()https://docs.python.org/dev/c-api/unicode.html#c.PyUnicode_Join
PyBytes_Join()https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_Join
buffer protocolhttps://docs.python.org/dev/c-api/buffer.html#bufferobjects
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c._PyBytes_Resize
MemoryErrorhttps://docs.python.org/dev/library/exceptions.html#MemoryError
soft deprecatedhttps://docs.python.org/dev/glossary.html#term-soft-deprecated
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_Repr
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
strong referencehttps://docs.python.org/dev/glossary.html#term-strong-reference
strhttps://docs.python.org/dev/library/stdtypes.html#str
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_DecodeEscape
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
strong referencehttps://docs.python.org/dev/glossary.html#term-strong-reference
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
https://docs.python.org/dev/c-api/bytes.html#pybyteswriter
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
PyBytesWriter_Finish()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Finish
PyBytesWriter_Discard()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Discard
https://docs.python.org/dev/c-api/bytes.html#create-finish-discard
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Create
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
PyBytesWriter_GetData()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_GetData
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Finish
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
PyBytesWriter_Create()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Create
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
PyBytesWriter_Finish()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Finish
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_FinishWithSize
PyBytesWriter_Finish()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Finish
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_FinishWithPointer
PyBytesWriter_Finish()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Finish
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Discard
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
PyBytesWriter_Create()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Create
PyBytesWriter_Discard()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Discard
https://docs.python.org/dev/c-api/bytes.html#high-level-api
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_WriteBytes
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Format
PyBytes_FromFormat()https://docs.python.org/dev/c-api/bytes.html#c.PyBytes_FromFormat
https://docs.python.org/dev/c-api/bytes.html#getters
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_GetSize
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_GetData
PyBytesWriter_Finish()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Finish
PyBytesWriter_Discard()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Discard
https://docs.python.org/dev/c-api/bytes.html#low-level-api
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Resize
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Grow
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_GrowAndUpdatePointer
PyBytesWriter_Grow()https://docs.python.org/dev/c-api/bytes.html#c.PyBytesWriter_Grow
Table of Contentshttps://docs.python.org/dev/contents.html
Bytes Objectshttps://docs.python.org/dev/c-api/bytes.html
PyBytesWriterhttps://docs.python.org/dev/c-api/bytes.html#pybyteswriter
Create, Finish, Discardhttps://docs.python.org/dev/c-api/bytes.html#create-finish-discard
High-level APIhttps://docs.python.org/dev/c-api/bytes.html#high-level-api
Gettershttps://docs.python.org/dev/c-api/bytes.html#getters
Low-level APIhttps://docs.python.org/dev/c-api/bytes.html#low-level-api
Complex Number Objectshttps://docs.python.org/dev/c-api/complex.html
Byte Array Objectshttps://docs.python.org/dev/c-api/bytearray.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/c-api/bytes.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/c-api/bytearray.html
previoushttps://docs.python.org/dev/c-api/complex.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
Python/C API Reference Manualhttps://docs.python.org/dev/c-api/index.html
Concrete Objects Layerhttps://docs.python.org/dev/c-api/concrete.html
Bytes Objectshttps://docs.python.org/dev/c-api/bytes.html
Copyrighthttps://docs.python.org/dev/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.