ByteArray
-
class ByteArray(*args, **kwargs)
- Constructors:
Methods
-
class ByteArray
-
append(array: Sequence[int], data: int, len: int) → bytes
- Parameters:
-
-
free(array: Sequence[int], free_segment: bool) → int
- Parameters:
-
-
free_to_bytes(array: Sequence[int]) → Bytes
- Parameters:
array
-
new() → bytes
-
new_take(data: Sequence[int]) → bytes
- Parameters:
data
-
prepend(array: Sequence[int], data: int, len: int) → bytes
- Parameters:
-
-
remove_index(array: Sequence[int], index_: int) → bytes
- Parameters:
-
-
remove_index_fast(array: Sequence[int], index_: int) → bytes
- Parameters:
-
-
remove_range(array: Sequence[int], index_: int, length: int) → bytes
- Parameters:
-
-
set_size(array: Sequence[int], length: int) → bytes
- Parameters:
-
-
sized_new(reserved_size: int) → bytes
- Parameters:
reserved_size
-
sort(array: Sequence[int], compare_func: Callable[[None, None], int]) → None
- Parameters:
-
-
sort_with_data(array: Sequence[int], compare_func: Callable[[...], int], *user_data: Any) → None
- Parameters:
array
compare_func
user_data
Fields
-
class ByteArray
-
data
-
len