ID EN
Built-in Functions

bytearray

Python 3.11

Return a new array of bytes. The bytearray class is a mutable sequence of integers in the range 0

Syntax

PYTHON
class bytearray(source=b'')

See Also

bytearray Mutable Sequence Types bytes Bytes and Bytearray Operations bytearray() str.encode() buffer interface Bytearray Objects