bytearray
class bytearray
Constructors
6
__init__(self, source: str, encoding: str, errors: str = "strict")
Defined in
internal.types.collections.bytearray
Methods
56
fromhex(value: str)
Defined in
internal.types.collections.bytearrayfromhex(value: bytes)
Defined in
internal.types.collections.bytearrayfromhex(value: bytearray)
Defined in
internal.types.collections.bytearrayextend(self, source: Generator[int])
Defined in
internal.types.collections.bytearrayextend(self, source: bytes)
Defined in
internal.types.collections.bytearrayextend(self, source: bytearray)
Defined in
internal.types.collections.bytearraycount(self, value: int)
Defined in
internal.types.collections.bytearraycount(self, pattern: bytes, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearraycount(self, pattern: bytearray, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayindex(self, value: int, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayindex(self, pattern: bytes, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayindex(self, pattern: bytearray, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayfind(self, pattern: bytes, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayfind(self, pattern: bytearray, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayrfind(self, pattern: bytes, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayrfind(self, pattern: bytearray, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayrindex(self, pattern: bytes, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayrindex(self, pattern: bytearray, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearraystartswith(self, prefix: bytes, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearraystartswith(self, prefix: bytearray, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayendswith(self, suffix: bytes, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayendswith(self, suffix: bytearray, start: int = 0, end: Optional[int] = None)
Defined in
internal.types.collections.bytearrayljust(self, width: int, fillchar: bytes = " ")
Defined in
internal.types.collections.bytearrayrjust(self, width: int, fillchar: bytes = " ")
Defined in
internal.types.collections.bytearraycenter(self, width: int, fillchar: bytes = " ")
Defined in
internal.types.collections.bytearraylstrip(self)
Defined in
internal.types.collections.bytearraylstrip(self, chars: bytes)
Defined in
internal.types.collections.bytearrayrstrip(self)
Defined in
internal.types.collections.bytearrayrstrip(self, chars: bytes)
Defined in
internal.types.collections.bytearraystrip(self)
Defined in
internal.types.collections.bytearraystrip(self, chars: bytes)
Defined in
internal.types.collections.bytearraysplit(self, separator: Optional[bytes] = None, maxsplit: int = -1)
Defined in
internal.types.collections.bytearrayrsplit(self, separator: Optional[bytes] = None, maxsplit: int = -1)
Defined in
internal.types.collections.bytearrayreplace(self, old: bytes, new: bytes, count: int = -1)
Defined in
internal.types.collections.bytearraytranslate(self, table)
Defined in
internal.types.collections.bytearraytranslate(self, table: bytes, delete: bytes = "")
Defined in
internal.types.collections.bytearraytranslate(self, table: bytearray, delete: bytes = "")
Defined in
internal.types.collections.bytearrayhex(self)
Defined in
internal.types.collections.bytearrayhex(self, sep: str, bytes_per_sep: int = 1)
Defined in
internal.types.collections.bytearrayhex(self, sep: bytes, bytes_per_sep: int = 1)
Defined in
internal.types.collections.bytearrayjoin(self, values: Generator[T], T: type)
Defined in
internal.types.collections.bytearrayjoin(self, values: List[T], T: type)
Defined in
internal.types.collections.bytearraydecode(self, encoding: str = "utf-8", errors: str = "strict")
Defined in
internal.types.collections.bytearray
Special methods
24
__getitem__(self, index: int)
Defined in
internal.types.collections.bytearray__getitem__(self, slice: Slice)
Defined in
internal.types.collections.bytearray__setitem__(self, slice: Slice, source: Generator[int])
Defined in
internal.types.collections.bytearray__setitem__(self, index: int, value: int)
Defined in
internal.types.collections.bytearray__setitem__(self, slice: Slice, source: bytes)
Defined in
internal.types.collections.bytearray__setitem__(self, slice: Slice, source: bytearray)
Defined in
internal.types.collections.bytearray__delitem__(self, index: int)
Defined in
internal.types.collections.bytearray__delitem__(self, slice: Slice)
Defined in
internal.types.collections.bytearray__contains__(self, value: int)
Defined in
internal.types.collections.bytearray__contains__(self, pattern: bytes)
Defined in
internal.types.collections.bytearray__contains__(self, pattern: bytearray)
Defined in
internal.types.collections.bytearray__eq__(self, other: bytearray)
Defined in
internal.types.collections.bytearray__eq__(self, other: bytes)
Defined in
internal.types.collections.bytearray__ne__(self, other: bytearray)
Defined in
internal.types.collections.bytearray__ne__(self, other: bytes)
Defined in
internal.types.collections.bytearray__lt__(self, other: bytearray)
Defined in
internal.types.collections.bytearray__lt__(self, other: bytes)
Defined in
internal.types.collections.bytearray__le__(self, other: bytearray)
Defined in
internal.types.collections.bytearray__le__(self, other: bytes)
Defined in
internal.types.collections.bytearray__gt__(self, other: bytearray)
Defined in
internal.types.collections.bytearray__gt__(self, other: bytes)
Defined in
internal.types.collections.bytearray__ge__(self, other: bytearray)
Defined in
internal.types.collections.bytearray__ge__(self, other: bytes)
Defined in
internal.types.collections.bytearray__add__(self, other: bytearray)
Defined in
internal.types.collections.bytearray__add__(self, other: bytes)
Defined in
internal.types.collections.bytearray__iadd__(self, other: bytearray)
Defined in
internal.types.collections.bytearray__iadd__(self, other: bytes)
Defined in
internal.types.collections.bytearray